CVE-2012-0060: Software Security Vulnerability Vulnerability

MODERATE
Advisory Identifier: GHSA-j6wj-cqmg-hvcm
CWE-20
Published
Advisory Summary

CVE-2012-0060 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-2012-0060 at a Glance

CVE Identifier CVE-2012-0060
GHSA Identifier GHSA-j6wj-cqmg-hvcm
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-2012-0060

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-2012-0060, 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

RPM before 4.9.1.3 does not properly validate region tags, which allows remote attackers to cause a denial of service (crash) and possibly execute arbitrary code via an invalid region tag in a package header to the (1) headerLoad, (2) rpmReadSignature, or (3) headerVerify function.

References

NVD — CVE-2012-0060 NVD
https://nvd.nist.gov/vuln/detail/CVE-2012-0060
bugzilla.redhat.com/show_bug.cgi WEB
https://bugzilla.redhat.com/show_bug.cgi?id=744858
exchange.xforce.ibmcloud.com/vulnerabilities/745... WEB
https://exchange.xforce.ibmcloud.com/vulnerabilities/74582
hermes.opensuse.org/messages/14440932 WEB
https://hermes.opensuse.org/messages/14440932
hermes.opensuse.org/messages/14441362 WEB
https://hermes.opensuse.org/messages/14441362
lists.fedoraproject.org/pipermail/package-a... WEB
http://lists.fedoraproject.org/pipermail/package-announce/2012-April/077960.html
lists.fedoraproject.org/pipermail/package-a... WEB
http://lists.fedoraproject.org/pipermail/package-announce/2012-April/078819.html
lists.fedoraproject.org/pipermail/package-a... WEB
http://lists.fedoraproject.org/pipermail/package-announce/2012-April/078907.html
rhn.redhat.com/errata/rhsa-2012-04... WEB
http://rhn.redhat.com/errata/RHSA-2012-0451.html
rhn.redhat.com/errata/rhsa-2012-05... WEB
http://rhn.redhat.com/errata/RHSA-2012-0531.html
rpm.org/gitweb WEB
http://rpm.org/gitweb?p=rpm.git%3Ba=commitdiff%3Bh=e4eab2bc6d07cfd33f740071de7ddbb2fe2f4190
rpm.org/gitweb WEB
http://rpm.org/gitweb?p=rpm.git%3Ba=commitdiff%3Bh=f23998251992b8ae25faf5113c42fee2c49c7f29
rpm.org/gitweb WEB
http://rpm.org/gitweb?p=rpm.git;a=commitdiff;h=e4eab2bc6d07cfd33f740071de7ddbb2fe2f4190
rpm.org/gitweb WEB
http://rpm.org/gitweb?p=rpm.git;a=commitdiff;h=f23998251992b8ae25faf5113c42fee2c49c7f29
rpm.org/wiki/releases/4.9.1... WEB
http://rpm.org/wiki/Releases/4.9.1.3
secunia.com/advisories/48651 WEB
http://secunia.com/advisories/48651
secunia.com/advisories/48716 WEB
http://secunia.com/advisories/48716
secunia.com/advisories/49110 WEB
http://secunia.com/advisories/49110
Software Security Information SECURITY
http://www.mandriva.com/security/advisories?name=MDVSA-2012:056
Software Security Information SECURITY
http://www.oracle.com/technetwork/topics/security/ovmbulletinjul2016-3090546.html
www.osvdb.org/81010 WEB
http://www.osvdb.org/81010
Software Security Information SECURITY
http://www.securityfocus.com/bid/52865
Software Security Information SECURITY
http://www.securitytracker.com/id?1026882
www.ubuntu.com/usn/usn-1695-1 WEB
http://www.ubuntu.com/usn/USN-1695-1

Frequently Asked Questions

What is CVE-2012-0060?
CVE-2012-0060 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-2012-0060?
Upgrading to current release patches (or the latest patched release for your respective branch) resolves the vulnerability.
What CWE is associated with CVE-2012-0060?
CVE-2012-0060 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-2012-0060?
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-j6wj-cqmg-hvcm",
  "modified" : "2025-04-11T03:58:05Z",
  "published" : "2022-05-04T00:27:50Z",
  "aliases" : [ "CVE-2012-0060" ],
  "details" : "RPM before 4.9.1.3 does not properly validate region tags, which allows remote attackers to cause a denial of service (crash) and possibly execute arbitrary code via an invalid region tag in a package header to the (1) headerLoad, (2) rpmReadSignature, or (3) headerVerify function.",
  "severity" : [ ],
  "affected" : [ ],
  "references" : [ {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2012-0060"
  }, {
    "type" : "WEB",
    "url" : "https://bugzilla.redhat.com/show_bug.cgi?id=744858"
  }, {
    "type" : "WEB",
    "url" : "https://exchange.xforce.ibmcloud.com/vulnerabilities/74582"
  }, {
    "type" : "WEB",
    "url" : "https://hermes.opensuse.org/messages/14440932"
  }, {
    "type" : "WEB",
    "url" : "https://hermes.opensuse.org/messages/14441362"
  }, {
    "type" : "WEB",
    "url" : "http://lists.fedoraproject.org/pipermail/package-announce/2012-April/077960.html"
  }, {
    "type" : "WEB",
    "url" : "http://lists.fedoraproject.org/pipermail/package-announce/2012-April/078819.html"
  }, {
    "type" : "WEB",
    "url" : "http://lists.fedoraproject.org/pipermail/package-announce/2012-April/078907.html"
  }, {
    "type" : "WEB",
    "url" : "http://rhn.redhat.com/errata/RHSA-2012-0451.html"
  }, {
    "type" : "WEB",
    "url" : "http://rhn.redhat.com/errata/RHSA-2012-0531.html"
  }, {
    "type" : "WEB",
    "url" : "http://rpm.org/gitweb?p=rpm.git%3Ba=commitdiff%3Bh=e4eab2bc6d07cfd33f740071de7ddbb2fe2f4190"
  }, {
    "type" : "WEB",
    "url" : "http://rpm.org/gitweb?p=rpm.git%3Ba=commitdiff%3Bh=f23998251992b8ae25faf5113c42fee2c49c7f29"
  }, {
    "type" : "WEB",
    "url" : "http://rpm.org/gitweb?p=rpm.git;a=commitdiff;h=e4eab2bc6d07cfd33f740071de7ddbb2fe2f4190"
  }, {
    "type" : "WEB",
    "url" : "http://rpm.org/gitweb?p=rpm.git;a=commitdiff;h=f23998251992b8ae25faf5113c42fee2c49c7f29"
  }, {
    "type" : "WEB",
    "url" : "http://rpm.org/wiki/Releases/4.9.1.3"
  }, {
    "type" : "WEB",
    "url" : "http://secunia.com/advisories/48651"
  }, {
    "type" : "WEB",
    "url" : "http://secunia.com/advisories/48716"
  }, {
    "type" : "WEB",
    "url" : "http://secunia.com/advisories/49110"
  }, {
    "type" : "WEB",
    "url" : "http://www.mandriva.com/security/advisories?name=MDVSA-2012:056"
  }, {
    "type" : "WEB",
    "url" : "http://www.oracle.com/technetwork/topics/security/ovmbulletinjul2016-3090546.html"
  }, {
    "type" : "WEB",
    "url" : "http://www.osvdb.org/81010"
  }, {
    "type" : "WEB",
    "url" : "http://www.securityfocus.com/bid/52865"
  }, {
    "type" : "WEB",
    "url" : "http://www.securitytracker.com/id?1026882"
  }, {
    "type" : "WEB",
    "url" : "http://www.ubuntu.com/usn/USN-1695-1"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-20" ],
    "severity" : "MODERATE",
    "github_reviewed" : false,
    "github_reviewed_at" : null,
    "nvd_published_at" : "2012-06-04T20:55:00Z"
  }
}