MEDIUM5.5
GHSA-9qh2-6fxg-9m4g
Open Chinese Convert subject to Denial of Service via Out-of-bounds Read
Quick fix
GHSA-9qh2-6fxg-9m4g — opencc: upgrade to the fixed version with the command below.
npm install opencc@1.1.2Details
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.
Are you affected?
Enter the version of the package you're using.
Affected packages
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]