CONTENTUM.COMA specialist. A plan. A result.

Vulnerabilities · 2022 · Apache

CVE-2022-42920
Apache Commons Bcel vulnerability

Apache Commons BCEL has a number of APIs that would normally only allow changing specific class characteristics. However, due to an out-of-bounds writing issue, these APIs can be used to produce arbitrary bytecode. This could be abused in applications that pass attacker-controllable data to those APIs, giving the attacker more control over the resulting bytecode than otherwise expected. Update to Apache Commons BCEL 6.6.0.

High priority: this vulnerability is rated critical and can be attacked over the network without a login.

Affected products

Commons Bcel, Fedora. The exact versions are in the references.

What to do now

  • Check your exposureFind out whether Apache Commons Bcel runs anywhere in your environment, including systems of suppliers.
  • UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
  • Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.

References

More vulnerabilities in Apache products

Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.