OSV-2023-920 Security exception in com.github.javaparser.GeneratedJavaParser.Expression

Not scored Published

A security exception in the JavaParser library can cause a denial of service when processing specific inputs.

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

What is OSV-2023-920?

OSV-2023-920 is a denial of service vulnerability in javaparser, published on 28 Sep 2023.

Official description

OSS-Fuzz report: https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=62731

Crash type: Security exception
Crash state:
com.github.javaparser.GeneratedJavaParser.Expression
java.base/sun.nio.cs.CESU_8$Encoder.to3Bytes
java.base/sun.nio.cs.CESU_8$Encoder.encodeArrayLoop

Which versions are affected by OSV-2023-920?

1 open source package ship an affected version, including javaparser.

PackageAffectedFixed in
javaparser OSS-FuzzAll versionsNone

How do I fix OSV-2023-920?

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

Upgrade, then put limits on request size, rate and nesting depth so one client cannot exhaust the service. More about Denial of service.

Is OSV-2023-920 being exploited?

There is no known exploitation of OSV-2023-920 in the wild and no public exploit code.

Sources

Is OSV-2023-920 in your software?

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

Check your SBOMs for free