CVE-2007-1218: Software Security Vulnerability Vulnerability

MODERATE
Advisory Identifier: GHSA-r3xv-hqxp-h6pv
CWE-119
Published
Advisory Summary

CVE-2007-1218 is a MODERATE security vulnerability vulnerability (CWE-119: Improper Restriction of Operations within the Bounds of a Memory Buffer) affecting Software libraries in the Maven ecosystem. The weakness occurs when the product performs operations on a memory buffer, but it reads from or writes to a memory location outside the buffer's intended boundary. this may result in read or write operations on unexpected memory locations that could be linked to other variables, data structures, or internal program data.. Remediation is available in the latest vendor maintenance releases.

CVE-2007-1218 at a Glance

CVE Identifier CVE-2007-1218
GHSA Identifier GHSA-r3xv-hqxp-h6pv
Severity MODERATE
CVSS v3.1 Base Score N/A
CWE Classification CWE-119: Improper Restriction of Operations within the Bounds of a Memory Buffer
Affected Product Software
Package Ecosystem Maven
Published Date
Last Updated

How to Fix CVE-2007-1218

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-2007-1218, 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-119: Improper Restriction of Operations within the Bounds of a Memory Buffer, where the product performs operations on a memory buffer, but it reads from or writes to a memory location outside the buffer's intended boundary. this may result in read or write operations on unexpected memory locations that could be linked to other variables, data structures, or internal program data. 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

Off-by-one buffer overflow in the parse_elements function in the 802.11 printer code (print-802_11.c) for tcpdump 3.9.5 and earlier allows remote attackers to cause a denial of service (crash) via a crafted 802.11 frame. NOTE: this was originally referred to as heap-based, but it might be stack-based.

References

NVD — CVE-2007-1218 NVD
https://nvd.nist.gov/vuln/detail/CVE-2007-1218
bugs.gentoo.org/show_bug.cgi WEB
https://bugs.gentoo.org/show_bug.cgi?id=168916
exchange.xforce.ibmcloud.com/vulnerabilities/327... WEB
https://exchange.xforce.ibmcloud.com/vulnerabilities/32749
issues.rpath.com/browse/rpl-1100 WEB
https://issues.rpath.com/browse/RPL-1100
Software Security Information SECURITY
https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A9520
cvs.tcpdump.org/cgi-bin/cvsweb/tcpd... WEB
http://cvs.tcpdump.org/cgi-bin/cvsweb/tcpdump/print-802_11.c
cvs.tcpdump.org/cgi-bin/cvsweb/tcpd... WEB
http://cvs.tcpdump.org/cgi-bin/cvsweb/tcpdump/print-802_11.c?r1=1.31.2.11&r2=1.31.2.12
docs.info.apple.com/article.html WEB
http://docs.info.apple.com/article.html?artnum=307179
fedoranews.org/cms/node/2798 WEB
http://fedoranews.org/cms/node/2798
fedoranews.org/cms/node/2799 WEB
http://fedoranews.org/cms/node/2799
Software Security Information SECURITY
http://lists.apple.com/archives/security-announce/2007/Dec/msg00002.html
seclists.org/fulldisclosure/2007... WEB
http://seclists.org/fulldisclosure/2007/Mar/0003.html
secunia.com/advisories/24318 WEB
http://secunia.com/advisories/24318
secunia.com/advisories/24354 WEB
http://secunia.com/advisories/24354
secunia.com/advisories/24423 WEB
http://secunia.com/advisories/24423
secunia.com/advisories/24451 WEB
http://secunia.com/advisories/24451
secunia.com/advisories/24583 WEB
http://secunia.com/advisories/24583
secunia.com/advisories/24610 WEB
http://secunia.com/advisories/24610
secunia.com/advisories/27580 WEB
http://secunia.com/advisories/27580
secunia.com/advisories/28136 WEB
http://secunia.com/advisories/28136
Software Security Information SECURITY
http://www.debian.org/security/2007/dsa-1272
Software Security Information SECURITY
http://www.mandriva.com/security/advisories?name=MDKSA-2007:056
Software Security Information SECURITY
http://www.mandriva.com/security/advisories?name=MDKSA-2007:155
www.osvdb.org/32427 WEB
http://www.osvdb.org/32427
www.redhat.com/support/errata/rhsa... WEB
http://www.redhat.com/support/errata/RHSA-2007-0368.html
www.redhat.com/support/errata/rhsa... WEB
http://www.redhat.com/support/errata/RHSA-2007-0387.html
Software Security Information SECURITY
http://www.securityfocus.com/bid/22772
Software Security Information SECURITY
http://www.securitytracker.com/id?1017717
Software Security Information SECURITY
http://www.turbolinux.com/security/2007/TLSA-2007-46.txt
www.ubuntu.com/usn/usn-429-1 WEB
http://www.ubuntu.com/usn/usn-429-1
www.us-cert.gov/cas/techalerts/ta07... WEB
http://www.us-cert.gov/cas/techalerts/TA07-352A.html
www.vupen.com/english/advisories/... WEB
http://www.vupen.com/english/advisories/2007/0793
www.vupen.com/english/advisories/... WEB
http://www.vupen.com/english/advisories/2007/4238

Frequently Asked Questions

What is CVE-2007-1218?
CVE-2007-1218 is a security vulnerability in Software classified as a security vulnerability vulnerability under CWE-119: Improper Restriction of Operations within the Bounds of a Memory Buffer.
Which Software versions are affected?
Affected versions include releases prior to current release patches.
What version fixes CVE-2007-1218?
Upgrading to current release patches (or the latest patched release for your respective branch) resolves the vulnerability.
What CWE is associated with CVE-2007-1218?
CVE-2007-1218 is classified under CWE-119: Improper Restriction of Operations within the Bounds of a Memory Buffer (The product performs operations on a memory buffer, but it reads from or writes to a memory location outside the buffer's intended boundary. This may result in read or write operations on unexpected memory locations that could be linked to other variables, data structures, or internal program data.).
How can I check Maven dependencies for CVE-2007-1218?
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-r3xv-hqxp-h6pv",
  "modified" : "2022-05-01T17:51:23Z",
  "published" : "2022-05-01T17:51:23Z",
  "aliases" : [ "CVE-2007-1218" ],
  "details" : "Off-by-one buffer overflow in the parse_elements function in the 802.11 printer code (print-802_11.c) for tcpdump 3.9.5 and earlier allows remote attackers to cause a denial of service (crash) via a crafted 802.11 frame.  NOTE: this was originally referred to as heap-based, but it might be stack-based.",
  "severity" : [ ],
  "affected" : [ ],
  "references" : [ {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2007-1218"
  }, {
    "type" : "WEB",
    "url" : "https://bugs.gentoo.org/show_bug.cgi?id=168916"
  }, {
    "type" : "WEB",
    "url" : "https://exchange.xforce.ibmcloud.com/vulnerabilities/32749"
  }, {
    "type" : "WEB",
    "url" : "https://issues.rpath.com/browse/RPL-1100"
  }, {
    "type" : "WEB",
    "url" : "https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A9520"
  }, {
    "type" : "WEB",
    "url" : "http://cvs.tcpdump.org/cgi-bin/cvsweb/tcpdump/print-802_11.c"
  }, {
    "type" : "WEB",
    "url" : "http://cvs.tcpdump.org/cgi-bin/cvsweb/tcpdump/print-802_11.c?r1=1.31.2.11&r2=1.31.2.12"
  }, {
    "type" : "WEB",
    "url" : "http://docs.info.apple.com/article.html?artnum=307179"
  }, {
    "type" : "WEB",
    "url" : "http://fedoranews.org/cms/node/2798"
  }, {
    "type" : "WEB",
    "url" : "http://fedoranews.org/cms/node/2799"
  }, {
    "type" : "WEB",
    "url" : "http://lists.apple.com/archives/security-announce/2007/Dec/msg00002.html"
  }, {
    "type" : "WEB",
    "url" : "http://seclists.org/fulldisclosure/2007/Mar/0003.html"
  }, {
    "type" : "WEB",
    "url" : "http://secunia.com/advisories/24318"
  }, {
    "type" : "WEB",
    "url" : "http://secunia.com/advisories/24354"
  }, {
    "type" : "WEB",
    "url" : "http://secunia.com/advisories/24423"
  }, {
    "type" : "WEB",
    "url" : "http://secunia.com/advisories/24451"
  }, {
    "type" : "WEB",
    "url" : "http://secunia.com/advisories/24583"
  }, {
    "type" : "WEB",
    "url" : "http://secunia.com/advisories/24610"
  }, {
    "type" : "WEB",
    "url" : "http://secunia.com/advisories/27580"
  }, {
    "type" : "WEB",
    "url" : "http://secunia.com/advisories/28136"
  }, {
    "type" : "WEB",
    "url" : "http://www.debian.org/security/2007/dsa-1272"
  }, {
    "type" : "WEB",
    "url" : "http://www.mandriva.com/security/advisories?name=MDKSA-2007:056"
  }, {
    "type" : "WEB",
    "url" : "http://www.mandriva.com/security/advisories?name=MDKSA-2007:155"
  }, {
    "type" : "WEB",
    "url" : "http://www.osvdb.org/32427"
  }, {
    "type" : "WEB",
    "url" : "http://www.redhat.com/support/errata/RHSA-2007-0368.html"
  }, {
    "type" : "WEB",
    "url" : "http://www.redhat.com/support/errata/RHSA-2007-0387.html"
  }, {
    "type" : "WEB",
    "url" : "http://www.securityfocus.com/bid/22772"
  }, {
    "type" : "WEB",
    "url" : "http://www.securitytracker.com/id?1017717"
  }, {
    "type" : "WEB",
    "url" : "http://www.turbolinux.com/security/2007/TLSA-2007-46.txt"
  }, {
    "type" : "WEB",
    "url" : "http://www.ubuntu.com/usn/usn-429-1"
  }, {
    "type" : "WEB",
    "url" : "http://www.us-cert.gov/cas/techalerts/TA07-352A.html"
  }, {
    "type" : "WEB",
    "url" : "http://www.vupen.com/english/advisories/2007/0793"
  }, {
    "type" : "WEB",
    "url" : "http://www.vupen.com/english/advisories/2007/4238"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-119" ],
    "severity" : "MODERATE",
    "github_reviewed" : false,
    "github_reviewed_at" : null,
    "nvd_published_at" : "2007-03-02T21:18:00Z"
  }
}