Vulnerabilities in pkg:maven/com.ning/async-http-client
PACKAGECVE-2013-7397 is a MODERATE insufficient verification of data authenticity vulnerability (CWE-345: Insufficient Verification of Data Authenticity) affecting Async http client libraries in the Maven ecosystem. The issue involves insufficient verification of data authenticity in async http client. Remediation is available by upgrading affected packages to version 1.9.0.
pkg:maven/com.ning/async-http-client
Vulnerability advisories affecting package pkg:maven/com.ning/async-http-client. Select an advisory below to view technical details or fixes.
| Advisory ID | CVE / NVD | Severity | Summary |
|---|---|---|---|
| GHSA-8h53-fjgg-g42g | CVE-2013-7397 | MODERATE | Insufficient Verification of Data Authenticity in Async Http Client |
| GHSA-5c66-6h6g-6q6m | CVE-2013-7398 | MODERATE | Insufficient Verification of Data Authenticity in Async Http Client |
CVE-2013-7397 at a Glance
How to Fix CVE-2013-7397
To remediate this vulnerability, upgrade all affected Async http client 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>com.ning</groupId>
<artifactId>async-http-client</artifactId>
<version>1.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=com.ning
How to Check if You Are Affected
To determine whether your Java application is affected by CVE-2013-7397, inspect your build dependencies using the Maven Dependency Plugin:
mvn dependency:tree -Dincludes=com.ning
Analyze the terminal output to locate any version of Async http client in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 1.9.0), your application is affected.
Note: The mvn dependency:tree -Dincludes=com.ning 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-345: Insufficient Verification of Data Authenticity, where the product does not sufficiently verify the origin or authenticity of data, in a way that causes it to accept invalid data. In Async http client, 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-2013-7397 Affected Async http client Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
com.ning:async-http-client
|
Maven |
< 1.9.0
|
1.9.0
|
References
Frequently Asked Questions
What is CVE-2013-7397?
Which Async http client versions are affected?
What version fixes CVE-2013-7397?
Is async-http-client affected?
What CWE is associated with CVE-2013-7397?
How can I check Maven dependencies for CVE-2013-7397?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-8h53-fjgg-g42g",
"modified" : "2024-03-04T23:48:01Z",
"published" : "2022-05-13T01:12:18Z",
"aliases" : [ "CVE-2013-7397" ],
"summary" : "Insufficient Verification of Data Authenticity in Async Http Client",
"details" : "Async Http Client (aka AHC or async-http-client) before 1.9.0 skips X.509 certificate verification unless both a keyStore location and a trustStore location are explicitly set, which allows man-in-the-middle attackers to spoof HTTPS servers by presenting an arbitrary certificate during use of a typical AHC configuration, as demonstrated by a configuration that does not send client certificates.",
"severity" : [ ],
"affected" : [ {
"package" : {
"ecosystem" : "Maven",
"name" : "com.ning:async-http-client"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "1.9.0"
} ]
} ]
} ],
"references" : [ {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2013-7397"
}, {
"type" : "WEB",
"url" : "https://github.com/AsyncHttpClient/async-http-client/issues/352"
}, {
"type" : "WEB",
"url" : "https://github.com/AsyncHttpClient/async-http-client/commit/dfacb8e05d0822c7b2024c452554bd8e1d6221d8"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/AsyncHttpClient/async-http-client"
}, {
"type" : "WEB",
"url" : "https://lists.apache.org/thread.html/ff8dcfe29377088ab655fda9d585dccd5b1f07fabd94ae84fd60a7f8@%3Ccommits.pulsar.apache.org%3E"
}, {
"type" : "WEB",
"url" : "https://lists.apache.org/thread.html/rd0e44e8ef71eeaaa3cf3d1b8b41eb25894372e2995ec908ce7624d26@%3Ccommits.pulsar.apache.org%3E"
}, {
"type" : "WEB",
"url" : "https://wiki.jenkins-ci.org/display/SECURITY/Jenkins+Security+Advisory+2016-06-20"
}, {
"type" : "WEB",
"url" : "http://openwall.com/lists/oss-security/2014/08/26/1"
}, {
"type" : "WEB",
"url" : "http://rhn.redhat.com/errata/RHSA-2015-0850.html"
}, {
"type" : "WEB",
"url" : "http://rhn.redhat.com/errata/RHSA-2015-0851.html"
}, {
"type" : "WEB",
"url" : "http://rhn.redhat.com/errata/RHSA-2015-1176.html"
}, {
"type" : "WEB",
"url" : "http://rhn.redhat.com/errata/RHSA-2015-1551.html"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-345" ],
"severity" : "MODERATE",
"github_reviewed" : true,
"github_reviewed_at" : "2022-07-07T23:14:07Z",
"nvd_published_at" : "2015-06-24T16:59:00Z"
}
}