CVE-2023-39022 Code injection in oscore

Critical 9.8 Published Updated

Attackers can execute arbitrary code by passing unchecked arguments to the createStateless method in the oscore Java library.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
None listed

What is CVE-2023-39022?

CVE-2023-39022 is a critical code injection vulnerability in n/a, published on 28 Jul 2023. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

oscore v2.2.6 and below was discovered to contain a code injection vulnerability in the component com.opensymphony.util.EJBUtils.createStateless. This vulnerability is exploited via passing an unchecked argument.

Weakness: CWE-94

Which versions are affected by CVE-2023-39022?

2 open source packages ship an affected version, including opensymphony:oscore. It affects 1 product.

PackageAffectedFixed in
opensymphony:oscore MavenAll versions to 2.2.6None
opensymphony:oscore MavenAll versions to 2.2.6None

Products include Oscore Oscore.

How do I fix CVE-2023-39022?

No fix has been published for CVE-2023-39022 yet. Limit exposure of the affected software until one is available.

Upgrade, and never evaluate templates, expressions or code built from user input. More about Code injection.

Is CVE-2023-39022 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2023-39022 exists.

Sources

Also known as GHSA-859m-2pfx-fwhf.

Is CVE-2023-39022 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free