Vulnerabilities in pkg:maven/org.codehaus.janino/janino-parent
PACKAGECVE-2023-33546 is a MODERATE (CVSS 5.5) denial of service vulnerability (CWE-787: Out-of-bounds Write) affecting Janino parent libraries in the Maven ecosystem. The issue involves janino vulnerable to denial of service due to stack overflow. Remediation is available in the latest vendor maintenance releases.
pkg:maven/org.codehaus.janino/janino-parent
Vulnerability advisories affecting package pkg:maven/org.codehaus.janino/janino-parent. Select an advisory below to view technical details or fixes.
| Advisory ID | CVE / NVD | Severity | Summary |
|---|---|---|---|
| GHSA-gcg6-xv4f-f749 | CVE-2023-33546 | MODERATE | janino vulnerable to denial of service due to stack overflow |
CVE-2023-33546 at a Glance
Security Impact
CVSS: 5.5
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H).
How to Fix CVE-2023-33546
To remediate this vulnerability, upgrade all affected Janino parent dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
<dependency>
<groupId>org.codehaus.janino</groupId>
<artifactId>janino-parent</artifactId>
<version>Latest secure release</version>
</dependency>
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
mvn dependency:tree -Dincludes=org.codehaus.janino
How to Check if You Are Affected
To determine whether your Java application is affected by CVE-2023-33546, inspect your build dependencies using the Maven Dependency Plugin:
mvn dependency:tree -Dincludes=org.codehaus.janino
Analyze the terminal output to locate any version of Janino parent in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than the patched release), your application is affected.
Note: The mvn dependency:tree -Dincludes=org.codehaus.janino command inspects the resolved dependency graph declared in your project's POM files; it does not perform automated security scanning or inspect runtime dynamic classpaths. Always verify runtime container classpaths and shaded JARs.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-787: Out-of-bounds Write, where the product writes data past the end, or before the beginning, of the intended buffer. In Janino parent, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.
Source Advisory Statement
CVE-2023-33546 Affected Janino parent Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
org.codehaus.janino:janino-parent
|
Maven |
≤ 3.1.9
|
|
References
Frequently Asked Questions
What is CVE-2023-33546?
Which Janino parent versions are affected?
What version fixes CVE-2023-33546?
Is janino-parent affected?
What is the CVSS score of CVE-2023-33546?
What CWE is associated with CVE-2023-33546?
How can I check Maven dependencies for CVE-2023-33546?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-gcg6-xv4f-f749",
"modified" : "2023-06-09T15:02:18Z",
"published" : "2023-06-01T15:30:59Z",
"aliases" : [ "CVE-2023-33546" ],
"summary" : "janino vulnerable to denial of service due to stack overflow",
"details" : "janino 3.1.9 and earlier is subject to denial of service (DOS) attacks when using the expression `evaluator.guess` parameter name method. If the parser runs on user-supplied input, an attacker could supply content that causes the parser to crash due to a stack overflow.",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "Maven",
"name" : "org.codehaus.janino:janino-parent"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"last_affected" : "3.1.9"
} ]
} ]
} ],
"references" : [ {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2023-33546"
}, {
"type" : "WEB",
"url" : "https://github.com/janino-compiler/janino/issues/201"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/janino-compiler/janino"
}, {
"type" : "WEB",
"url" : "https://janino-compiler.github.io/janino/#security"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-787" ],
"severity" : "MODERATE",
"github_reviewed" : true,
"github_reviewed_at" : "2023-06-06T02:03:28Z",
"nvd_published_at" : "2023-06-01T13:15:10Z"
}
}