GitHub Advisoryadvisory · npm
GHSA-9qh2-6fxg-9m4g Open Chinese Convert subject to Denial of Service via Out-of-bounds Read
MEDIUM
Official page ↗
- Aliases
- CVE-2018-16982
- Ecosystem
- npm
- Packages
- opencc
- Severity
- Moderate
- CVSS vector
- CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
- Weaknesses
- CWE-125
- Reviewed
- 2022-09-30
Affected packages
• npm opencc: < 1.1.2 → fixed in 1.1.2
Description
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.
Related
Alias · CVE (1)
- CVE-2018-16982 Open Chinese Convert (OpenCC) 1.0.5 allows attackers to cause a denial of service (segmentation fault) because BinaryDict::NewFromFile in… vulnerability
Weakness · CWE (1)
- CWE-125 Out-of-bounds Read weakness
References
- https://nvd.nist.gov/vuln/detail/CVE-2018-16982 advisory
- https://github.com/BYVoid/OpenCC/issues/303 web
- https://github.com/BYVoid/OpenCC/pull/309 web
- https://github.com/BYVoid/OpenCC/pull/560 web
- https://github.com/BYVoid/OpenCC/pull/560/commits/e1b8c7949738100e4747dd4109ef1f16e1bd99c4 web
- https://github.com/BYVoid/OpenCC/commit/4a4f9e58e505fca93605f22363c133df66a91a5e web
- https://github.com/BYVoid/OpenCC package
- https://github.com/pypa/advisory-database/tree/main/vulns/opencc-py/PYSEC-2018-153.yaml web