Description
A vulnerability was determined in berry-lang berry up to 1.1.0. The affected element is the function scan_string of the file src/be_lexer.c. This manipulation causes out-of-bounds read. The attack requires local access. The exploit has been publicly disclosed and may be utilized. Patch name: 7149c59a39ba44feca261b12f06089f265fec176. Applying a patch is the recommended action to fix this issue.
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)
None
Availability (Vulnerable System)
None
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
None
Availability
None
E
Physical
RL
O
RC
Changed
Affected products
- berry-lang / berry1.0 – 1.0
- berry-lang / berry1.1.0 – 1.1.0
References
- MISChttps://vuldb.com/?id.348014
- MISChttps://vuldb.com/?ctiid.348014
- MISChttps://vuldb.com/?submit.758872
- MISChttps://github.com/berry-lang/berry/issues/509
- PATCHhttps://github.com/berry-lang/berry/pull/511
- MISChttps://github.com/oneafter/0211/blob/main/be/repro
- PATCHhttps://github.com/berry-lang/berry/commit/7149c59a39ba44feca261b12f06089f265fec176
- MISChttps://github.com/berry-lang/berry/