GHSA-c74c-p4p7-r8q5

Suggest an improvement
Source
https://github.com/advisories/GHSA-c74c-p4p7-r8q5
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/05/GHSA-c74c-p4p7-r8q5/GHSA-c74c-p4p7-r8q5.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-c74c-p4p7-r8q5
Aliases
Published
2022-05-24T16:55:55Z
Modified
2024-09-30T17:01:18.365162Z
Severity
  • 9.8 (Critical) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H CVSS Calculator
  • 9.3 (Critical) CVSS_V4 - CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N CVSS Calculator
Summary
py-lmdb Invalid write operation
Details

An issue was discovered in py-lmdb 0.97. For certain values of mp_flags, mdb_page_touchdoes not properly set up mc->mc_pg[mc->top], leading to an invalid write operation. NOTE: this outcome occurs when accessing a data.mdb file supplied by an attacker.

Database specific
{
    "nvd_published_at": "2019-09-11T15:15:00Z",
    "cwe_ids": [
        "CWE-787"
    ],
    "severity": "CRITICAL",
    "github_reviewed": true,
    "github_reviewed_at": "2024-04-22T22:36:10Z"
}
References

Affected packages

PyPI / lmdb

Package

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Last affected
0.97

Affected versions

0.*

0.58
0.59
0.60
0.61
0.62
0.63
0.64
0.65
0.66
0.67
0.68
0.69
0.70
0.71
0.73
0.74
0.75
0.76
0.77
0.78
0.79
0.80
0.81
0.82
0.83
0.84
0.85
0.86
0.87
0.88
0.89
0.91
0.92
0.93
0.94
0.95
0.96
0.97