GHSA-9qh2-6fxg-9m4g

Suggest an improvement
Source
https://github.com/advisories/GHSA-9qh2-6fxg-9m4g
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/05/GHSA-9qh2-6fxg-9m4g/GHSA-9qh2-6fxg-9m4g.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-9qh2-6fxg-9m4g
Aliases
Published
2022-05-14T01:55:28Z
Modified
2023-11-08T04:00:02.485685Z
Severity
  • 5.5 (Medium) CVSS_V3 - CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H CVSS Calculator
Summary
Open Chinese Convert subject to Denial of Service via Out-of-bounds Read
Details

Open Chinese Convert (OpenCC) 1.0.5 allows attackers to cause a denial of service (segmentation fault) because BinaryDict::NewFromFile in BinaryDict.cpp may have out-of-bounds keyOffset and valueOffset values via a crafted .ocd file.

References

Affected packages

npm / opencc

Package

Affected ranges

Type
SEMVER
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
1.1.2

PyPI / opencc

Package

Affected ranges

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

Affected versions

0.*

0.1
0.2

1.*

1.1.0
1.1.0.post1
1.1.1
1.1.1.post1