Out-of-bounds Write Affecting org.apache.bcel:bcel package, versions [,6.6.0)


Severity

Recommended
0.0
high
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

Exploit Maturity
Not Defined
EPSS
2.33% (90th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-JAVA-ORGAPACHEBCEL-3106013
  • published7 Nov 2022
  • disclosed7 Nov 2022
  • creditFelix Wilhelm

Introduced: 7 Nov 2022

CVE-2022-42920  (opens in a new tab)
CWE-787  (opens in a new tab)

How to fix?

Upgrade org.apache.bcel:bcel to version 6.6.0 or higher.

Overview

Affected versions of this package are vulnerable to Out-of-bounds Write where a number of APIs can be used to produce arbitrary bytecode. This can be abused in applications that pass attacker-controllable data to those APIs, giving the attacker more control over the resulting bytecode than otherwise expected.

CVSS Scores

version 3.1