GHSA-cqmh-mpx2-g633

Suggest an improvement
Source
https://github.com/advisories/GHSA-cqmh-mpx2-g633
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/05/GHSA-cqmh-mpx2-g633/GHSA-cqmh-mpx2-g633.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-cqmh-mpx2-g633
Aliases
Published
2022-05-17T05:49:38Z
Modified
2024-10-15T17:00:54Z
Severity
  • 6.9 (Medium) CVSS_V4 - CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N CVSS Calculator
Summary
Improper Restriction of Operations within the Bounds of a Memory Buffer in python-cjson
Details

Buffer overflow in Dan Pascu python-cjson 1.0.5, when UCS-4 encoding is enabled, allows context-dependent attackers to cause a denial of service (application crash) or possibly have unspecified other impact via vectors involving crafted Unicode input to the cjson.encode function.

Database specific
{
    "cwe_ids":  [
        "CWE-119"
    ],
    "github_reviewed":  true,
    "github_reviewed_at":  "2022-07-08T18:56:28Z",
    "nvd_published_at":  "2010-07-02T19:00:00Z",
    "severity":  "MODERATE"
}
References

Affected packages

PyPI / python-cjson

Package

Name
python-cjson
View open source insights on deps.dev
Purl
pkg:pypi/python-cjson

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0 Unknown introduced version / All previous versions are affected
Fixed
1.0.5.1

Affected versions

1.*
1.0.0
1.0.1
1.0.2
1.0.3
1.0.4
1.0.5

Database specific

last_known_affected_version_range
"<= 1.0.5"
source
"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/05/GHSA-cqmh-mpx2-g633/GHSA-cqmh-mpx2-g633.json"