Vulnerabilities in pkg:maven/io.antmedia/ant-media-server
PACKAGECVE-2024-35371 is a HIGH (CVSS 7.5) ant-media-server vulnerable to improper output vulnerability (CWE-125: Out-of-bounds Read) affecting Ant media server libraries in the Maven ecosystem. The issue involves ant-media-server vulnerable to improper output neutralization for logs. Remediation is available by upgrading affected packages to version 2.9.0.
pkg:maven/io.antmedia/ant-media-server
Vulnerability advisories affecting package pkg:maven/io.antmedia/ant-media-server. Select an advisory below to view technical details or fixes.
| Advisory ID | CVE / NVD | Severity | Summary |
|---|---|---|---|
| GHSA-2gx6-qrpp-c4p3 | CVE-2024-35371 | HIGH | Ant-Media-Server vulnerable to Improper Output Neutralization for Logs |
| GHSA-g95v-3pj6-j433 | CVE-2024-3462 | LOW | Ant Media Server does not properly authorize non-administrative API calls |
| GHSA-qwhw-hh9j-54f5 | CVE-2024-32656 | HIGH | Ant Media Server vulnerable to a local privilege escalation |
CVE-2024-35371 at a Glance
Security Impact
CVSS: 7.5
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N).
How to Fix CVE-2024-35371
To remediate this vulnerability, upgrade all affected Ant media server 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>io.antmedia</groupId>
<artifactId>ant-media-server</artifactId>
<version>2.9.0</version>
</dependency>
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
mvn dependency:tree -Dincludes=io.antmedia
How to Check if You Are Affected
To determine whether your Java application is affected by CVE-2024-35371, inspect your build dependencies using the Maven Dependency Plugin:
mvn dependency:tree -Dincludes=io.antmedia
Analyze the terminal output to locate any version of Ant media server in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 2.9.0), your application is affected.
Note: The mvn dependency:tree -Dincludes=io.antmedia 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-125: Out-of-bounds Read, where the product reads data past the end, or before the beginning, of the intended buffer. In Ant media server, 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-2024-35371 Affected Ant media server Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
io.antmedia:ant-media-server
|
Maven |
< 2.9.0
|
2.9.0
|
References
Frequently Asked Questions
What is CVE-2024-35371?
Which Ant media server versions are affected?
What version fixes CVE-2024-35371?
Is ant-media-server affected?
What is the CVSS score of CVE-2024-35371?
What CWE is associated with CVE-2024-35371?
How can I check Maven dependencies for CVE-2024-35371?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-2gx6-qrpp-c4p3",
"modified" : "2024-12-02T20:18:25Z",
"published" : "2024-11-29T21:31:04Z",
"aliases" : [ "CVE-2024-35371" ],
"summary" : "Ant-Media-Server vulnerable to Improper Output Neutralization for Logs",
"details" : "Ant-Media-Server v2.8.2 is affected by Improper Output Neutralization for Logs. The vulnerability stems from insufficient input sanitization in the logging mechanism. Without proper filtering or validation, user-controllable data, such as identifiers or other sensitive information, can be included in log entries without restrictions.",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N"
}, {
"type" : "CVSS_V4",
"score" : "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "Maven",
"name" : "io.antmedia:ant-media-server"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "2.9.0"
} ]
} ]
} ],
"references" : [ {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2024-35371"
}, {
"type" : "WEB",
"url" : "https://github.com/ant-media/ant-media-server/commit/4d4763bd4fd06e515c19544e5170ca0f34c9ce45"
}, {
"type" : "WEB",
"url" : "https://gist.github.com/1047524396/4eb17867f2e375f4824274c5e7b4d384"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/ant-media/Ant-Media-Server"
}, {
"type" : "WEB",
"url" : "https://github.com/ant-media/Ant-Media-Server/blob/ams-v2.8.2/src/main/java/io/antmedia/rest/RestServiceBase.java#L356"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-125" ],
"severity" : "HIGH",
"github_reviewed" : true,
"github_reviewed_at" : "2024-12-02T20:18:25Z",
"nvd_published_at" : "2024-11-29T20:15:20Z"
}
}