Description
A weakness has been identified in BYVoid OpenCC up to 1.1.9. This vulnerability affects the function opencc::MaxMatchSegmentation of the file src/MaxMatchSegmentation.cpp. This manipulation causes heap-based buffer overflow. The attack is restricted to local execution. The exploit has been made available to the public and could be used for attacks. Patch name: 345c9a50ab07018f1b4439776bad78a0d40778ec. To fix this issue, it is recommended to deploy a patch.
CVSS breakdown
CVSS 4.0
Attack Vector
Local
Attack Complexity
Low
Attack Requirements
None
Privileges Required
Low
User Interaction
None
Confidentiality (Vulnerable System)
Low
Integrity (Vulnerable System)
Low
Availability (Vulnerable System)
Low
Confidentiality (Subsequent System)
None
Integrity (Subsequent System)
None
Availability (Subsequent System)
None
E
Physical
CVSS 3.1
Attack Vector
Local
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
Low
Integrity
Low
Availability
Low
E
Physical
RL
O
RC
Changed
Affected products
- BYVoid / OpenCC1.1.0 – 1.1.0
- BYVoid / OpenCC1.1.1 – 1.1.1
- BYVoid / OpenCC1.1.2 – 1.1.2
- BYVoid / OpenCC1.1.3 – 1.1.3
- BYVoid / OpenCC1.1.4 – 1.1.4
- BYVoid / OpenCC1.1.5 – 1.1.5
- BYVoid / OpenCC1.1.6 – 1.1.6
- BYVoid / OpenCC1.1.7 – 1.1.7
- BYVoid / OpenCC1.1.8 – 1.1.8
- BYVoid / OpenCC1.1.9 – 1.1.9
References
- MISChttps://vuldb.com/?id.341708
- MISChttps://vuldb.com/?ctiid.341708
- MISChttps://vuldb.com/?submit.733347
- MISChttps://github.com/BYVoid/OpenCC/issues/997
- PATCHhttps://github.com/BYVoid/OpenCC/pull/1005
- MISChttps://github.com/oneafter/1222/blob/main/repro
- PATCHhttps://github.com/BYVoid/OpenCC/commit/345c9a50ab07018f1b4439776bad78a0d40778ec
- MISChttps://github.com/BYVoid/OpenCC/