CVE-2013-7270: Software Security Vulnerability Vulnerability

MODERATE
Advisory Identifier: GHSA-hxfg-qj5j-8pf3
CWE-20
Published
Advisory Summary

CVE-2013-7270 is a MODERATE security vulnerability vulnerability (CWE-20: Improper Input Validation) affecting Software libraries in the Maven ecosystem. The weakness occurs when the product receives input or data, but it does not validate or incorrectly validates that the input has the properties that are required to process the data safely and correctly.. Remediation is available in the latest vendor maintenance releases.

CVE-2013-7270 at a Glance

CVE Identifier CVE-2013-7270
GHSA Identifier GHSA-hxfg-qj5j-8pf3
Severity MODERATE
CVSS v3.1 Base Score N/A
CWE Classification CWE-20: Improper Input Validation
Affected Product Software
Package Ecosystem Maven
Published Date
Last Updated

How to Fix CVE-2013-7270

To remediate this vulnerability, upgrade all affected Software dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.

Verify Direct and Transitive Dependencies

Run the following command in your project directory to verify that all resolved dependencies use the patched release:

mvn dependency:tree

How to Check if You Are Affected

To determine whether your Java application is affected by CVE-2013-7270, inspect your build dependencies using the Maven Dependency Plugin:

mvn dependency:tree

Analyze the terminal output to locate any version of Software 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 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-20: Improper Input Validation, where the product receives input or data, but it does not validate or incorrectly validates that the input has the properties that are required to process the data safely and correctly. In Software, 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

The packet_recvmsg function in net/packet/af_packet.c in the Linux kernel before 3.12.4 updates a certain length value before ensuring that an associated data structure has been initialized, which allows local users to obtain sensitive information from kernel memory via a (1) recvfrom, (2) recvmmsg, or (3) recvmsg system call.

References

NVD — CVE-2013-7270 NVD
https://nvd.nist.gov/vuln/detail/CVE-2013-7270
Security Fix Commit FIX COMMIT
https://github.com/torvalds/linux/commit/f3d3342602f8bcbf37d7c46641cb9bca7618eb1c
bugzilla.redhat.com/show_bug.cgi WEB
https://bugzilla.redhat.com/show_bug.cgi?id=1039845
exchange.xforce.ibmcloud.com/vulnerabilities/901... WEB
https://exchange.xforce.ibmcloud.com/vulnerabilities/90131
git.kernel.org/ WEB
http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git%3Ba=commit%3Bh=f3d3342602f8bcbf37d7c46641cb9bca7618eb1c
git.kernel.org/ WEB
http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=f3d3342602f8bcbf37d7c46641cb9bca7618eb1c
secunia.com/advisories/55882 WEB
http://secunia.com/advisories/55882
secunia.com/advisories/56036 WEB
http://secunia.com/advisories/56036
www.kernel.org/pub/linux/kernel/v3... WEB
http://www.kernel.org/pub/linux/kernel/v3.x/ChangeLog-3.12.4
Software Security Information SECURITY
http://www.openwall.com/lists/oss-security/2013/12/31/7
Software Security Information SECURITY
http://www.securityfocus.com/bid/64744
www.ubuntu.com/usn/usn-2109-1 WEB
http://www.ubuntu.com/usn/USN-2109-1
www.ubuntu.com/usn/usn-2110-1 WEB
http://www.ubuntu.com/usn/USN-2110-1
www.ubuntu.com/usn/usn-2113-1 WEB
http://www.ubuntu.com/usn/USN-2113-1
www.ubuntu.com/usn/usn-2117-1 WEB
http://www.ubuntu.com/usn/USN-2117-1
www.ubuntu.com/usn/usn-2128-1 WEB
http://www.ubuntu.com/usn/USN-2128-1
www.ubuntu.com/usn/usn-2129-1 WEB
http://www.ubuntu.com/usn/USN-2129-1
www.ubuntu.com/usn/usn-2135-1 WEB
http://www.ubuntu.com/usn/USN-2135-1
www.ubuntu.com/usn/usn-2136-1 WEB
http://www.ubuntu.com/usn/USN-2136-1
www.ubuntu.com/usn/usn-2138-1 WEB
http://www.ubuntu.com/usn/USN-2138-1
www.ubuntu.com/usn/usn-2139-1 WEB
http://www.ubuntu.com/usn/USN-2139-1
www.ubuntu.com/usn/usn-2141-1 WEB
http://www.ubuntu.com/usn/USN-2141-1

Frequently Asked Questions

What is CVE-2013-7270?
CVE-2013-7270 is a security vulnerability in Software classified as a security vulnerability vulnerability under CWE-20: Improper Input Validation.
Which Software versions are affected?
Affected versions include releases prior to current release patches.
What version fixes CVE-2013-7270?
Upgrading to current release patches (or the latest patched release for your respective branch) resolves the vulnerability.
What CWE is associated with CVE-2013-7270?
CVE-2013-7270 is classified under CWE-20: Improper Input Validation (The product receives input or data, but it does not validate or incorrectly validates that the input has the properties that are required to process the data safely and correctly.).
How can I check Maven dependencies for CVE-2013-7270?
Run the dependency tree command: 'mvn dependency:tree'. This command lists direct and transitive dependencies in your build configuration so you can verify if a vulnerable version is resolved.
Machine-readable OSV JSON OSV v1.5 Schema
Normalized schema output
{
  "schema_version" : "1.4.0",
  "id" : "GHSA-hxfg-qj5j-8pf3",
  "modified" : "2025-04-11T04:17:42Z",
  "published" : "2022-05-17T01:29:25Z",
  "aliases" : [ "CVE-2013-7270" ],
  "details" : "The packet_recvmsg function in net/packet/af_packet.c in the Linux kernel before 3.12.4 updates a certain length value before ensuring that an associated data structure has been initialized, which allows local users to obtain sensitive information from kernel memory via a (1) recvfrom, (2) recvmmsg, or (3) recvmsg system call.",
  "severity" : [ ],
  "affected" : [ ],
  "references" : [ {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2013-7270"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/torvalds/linux/commit/f3d3342602f8bcbf37d7c46641cb9bca7618eb1c"
  }, {
    "type" : "WEB",
    "url" : "https://bugzilla.redhat.com/show_bug.cgi?id=1039845"
  }, {
    "type" : "WEB",
    "url" : "https://exchange.xforce.ibmcloud.com/vulnerabilities/90131"
  }, {
    "type" : "WEB",
    "url" : "http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git%3Ba=commit%3Bh=f3d3342602f8bcbf37d7c46641cb9bca7618eb1c"
  }, {
    "type" : "WEB",
    "url" : "http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=f3d3342602f8bcbf37d7c46641cb9bca7618eb1c"
  }, {
    "type" : "WEB",
    "url" : "http://secunia.com/advisories/55882"
  }, {
    "type" : "WEB",
    "url" : "http://secunia.com/advisories/56036"
  }, {
    "type" : "WEB",
    "url" : "http://www.kernel.org/pub/linux/kernel/v3.x/ChangeLog-3.12.4"
  }, {
    "type" : "WEB",
    "url" : "http://www.openwall.com/lists/oss-security/2013/12/31/7"
  }, {
    "type" : "WEB",
    "url" : "http://www.securityfocus.com/bid/64744"
  }, {
    "type" : "WEB",
    "url" : "http://www.ubuntu.com/usn/USN-2109-1"
  }, {
    "type" : "WEB",
    "url" : "http://www.ubuntu.com/usn/USN-2110-1"
  }, {
    "type" : "WEB",
    "url" : "http://www.ubuntu.com/usn/USN-2113-1"
  }, {
    "type" : "WEB",
    "url" : "http://www.ubuntu.com/usn/USN-2117-1"
  }, {
    "type" : "WEB",
    "url" : "http://www.ubuntu.com/usn/USN-2128-1"
  }, {
    "type" : "WEB",
    "url" : "http://www.ubuntu.com/usn/USN-2129-1"
  }, {
    "type" : "WEB",
    "url" : "http://www.ubuntu.com/usn/USN-2135-1"
  }, {
    "type" : "WEB",
    "url" : "http://www.ubuntu.com/usn/USN-2136-1"
  }, {
    "type" : "WEB",
    "url" : "http://www.ubuntu.com/usn/USN-2138-1"
  }, {
    "type" : "WEB",
    "url" : "http://www.ubuntu.com/usn/USN-2139-1"
  }, {
    "type" : "WEB",
    "url" : "http://www.ubuntu.com/usn/USN-2141-1"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-20" ],
    "severity" : "MODERATE",
    "github_reviewed" : false,
    "github_reviewed_at" : null,
    "nvd_published_at" : "2014-01-06T16:55:00Z"
  }
}