CVE-2010-2059: Software Security Vulnerability Vulnerability

HIGH
Advisory Identifier: GHSA-f3f6-q22p-8fh5
Published
Advisory Summary

CVE-2010-2059 is a HIGH security vulnerability vulnerability (General Security Weakness) affecting Software libraries in the Maven ecosystem. Remediation is available in the latest vendor maintenance releases.

CVE-2010-2059 at a Glance

CVE Identifier CVE-2010-2059
GHSA Identifier GHSA-f3f6-q22p-8fh5
Severity HIGH
CVSS v3.1 Base Score N/A
CWE Classification General Security Weakness
Affected Product Software
Package Ecosystem Maven
Published Date
Last Updated

How to Fix CVE-2010-2059

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-2010-2059, 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 General Security Weakness. 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

lib/fsm.c in RPM 4.8.0 and unspecified 4.7.x and 4.6.x versions, and RPM before 4.4.3, does not properly reset the metadata of an executable file during replacement of the file in an RPM package upgrade, which might allow local users to gain privileges by creating a hard link to a vulnerable (1) setuid or (2) setgid file.

References

NVD — CVE-2010-2059 NVD
https://nvd.nist.gov/vuln/detail/CVE-2010-2059
bugzilla.redhat.com/show_bug.cgi WEB
https://bugzilla.redhat.com/show_bug.cgi?id=125517
bugzilla.redhat.com/show_bug.cgi WEB
https://bugzilla.redhat.com/show_bug.cgi?id=598775
distrib-coffee.ipsl.jussieu.fr/pub/mirrors/rpm/fil... WEB
http://distrib-coffee.ipsl.jussieu.fr/pub/mirrors/rpm/files/rpm/rpm-4.4/rpm-4.4.3.tar.gz
Software Security Information SECURITY
http://lists.opensuse.org/opensuse-security-announce/2010-08/msg00001.html
Software Security Information SECURITY
http://lists.opensuse.org/opensuse-security-announce/2010-09/msg00006.html
Software Security Information SECURITY
http://lists.vmware.com/pipermail/security-announce/2011/000126.html
marc.info/ WEB
http://marc.info/?l=oss-security&m=127559059928131&w=2
rpm.org/gitweb WEB
http://rpm.org/gitweb?p=rpm.git%3Ba=commit%3Bh=ca2d6b2b484f1501eafdde02e1688409340d2383
rpm.org/gitweb WEB
http://rpm.org/gitweb?p=rpm.git;a=commit;h=ca2d6b2b484f1501eafdde02e1688409340d2383
secunia.com/advisories/40028 WEB
http://secunia.com/advisories/40028
Software Security Information SECURITY
http://www.mandriva.com/security/advisories?name=MDVSA-2010:180
Software Security Information SECURITY
http://www.openwall.com/lists/oss-security/2010/06/02/2
Software Security Information SECURITY
http://www.openwall.com/lists/oss-security/2010/06/02/3
Software Security Information SECURITY
http://www.openwall.com/lists/oss-security/2010/06/03/5
Software Security Information SECURITY
http://www.openwall.com/lists/oss-security/2010/06/04/1
www.osvdb.org/65143 WEB
http://www.osvdb.org/65143
www.redhat.com/support/errata/rhsa... WEB
http://www.redhat.com/support/errata/RHSA-2010-0679.html
Software Security Information SECURITY
http://www.securityfocus.com/archive/1/516909/100/0/threaded
Software Security Information SECURITY
http://www.vmware.com/security/advisories/VMSA-2011-0004.html
www.vupen.com/english/advisories/... WEB
http://www.vupen.com/english/advisories/2011/0606

Frequently Asked Questions

What is CVE-2010-2059?
CVE-2010-2059 is a security vulnerability in Software classified as a security vulnerability vulnerability under General Security Weakness.
Which Software versions are affected?
Affected versions include releases prior to current release patches.
What version fixes CVE-2010-2059?
Upgrading to current release patches (or the latest patched release for your respective branch) resolves the vulnerability.
What CWE is associated with CVE-2010-2059?
CVE-2010-2059 is classified under General Security Weakness.
How can I check Maven dependencies for CVE-2010-2059?
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-f3f6-q22p-8fh5",
  "modified" : "2022-05-14T02:44:33Z",
  "published" : "2022-05-14T02:44:33Z",
  "aliases" : [ "CVE-2010-2059" ],
  "details" : "lib/fsm.c in RPM 4.8.0 and unspecified 4.7.x and 4.6.x versions, and RPM before 4.4.3, does not properly reset the metadata of an executable file during replacement of the file in an RPM package upgrade, which might allow local users to gain privileges by creating a hard link to a vulnerable (1) setuid or (2) setgid file.",
  "severity" : [ ],
  "affected" : [ ],
  "references" : [ {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2010-2059"
  }, {
    "type" : "WEB",
    "url" : "https://bugzilla.redhat.com/show_bug.cgi?id=125517"
  }, {
    "type" : "WEB",
    "url" : "https://bugzilla.redhat.com/show_bug.cgi?id=598775"
  }, {
    "type" : "WEB",
    "url" : "http://distrib-coffee.ipsl.jussieu.fr/pub/mirrors/rpm/files/rpm/rpm-4.4/rpm-4.4.3.tar.gz"
  }, {
    "type" : "WEB",
    "url" : "http://lists.opensuse.org/opensuse-security-announce/2010-08/msg00001.html"
  }, {
    "type" : "WEB",
    "url" : "http://lists.opensuse.org/opensuse-security-announce/2010-09/msg00006.html"
  }, {
    "type" : "WEB",
    "url" : "http://lists.vmware.com/pipermail/security-announce/2011/000126.html"
  }, {
    "type" : "WEB",
    "url" : "http://marc.info/?l=oss-security&m=127559059928131&w=2"
  }, {
    "type" : "WEB",
    "url" : "http://rpm.org/gitweb?p=rpm.git%3Ba=commit%3Bh=ca2d6b2b484f1501eafdde02e1688409340d2383"
  }, {
    "type" : "WEB",
    "url" : "http://rpm.org/gitweb?p=rpm.git;a=commit;h=ca2d6b2b484f1501eafdde02e1688409340d2383"
  }, {
    "type" : "WEB",
    "url" : "http://secunia.com/advisories/40028"
  }, {
    "type" : "WEB",
    "url" : "http://www.mandriva.com/security/advisories?name=MDVSA-2010:180"
  }, {
    "type" : "WEB",
    "url" : "http://www.openwall.com/lists/oss-security/2010/06/02/2"
  }, {
    "type" : "WEB",
    "url" : "http://www.openwall.com/lists/oss-security/2010/06/02/3"
  }, {
    "type" : "WEB",
    "url" : "http://www.openwall.com/lists/oss-security/2010/06/03/5"
  }, {
    "type" : "WEB",
    "url" : "http://www.openwall.com/lists/oss-security/2010/06/04/1"
  }, {
    "type" : "WEB",
    "url" : "http://www.osvdb.org/65143"
  }, {
    "type" : "WEB",
    "url" : "http://www.redhat.com/support/errata/RHSA-2010-0679.html"
  }, {
    "type" : "WEB",
    "url" : "http://www.securityfocus.com/archive/1/516909/100/0/threaded"
  }, {
    "type" : "WEB",
    "url" : "http://www.vmware.com/security/advisories/VMSA-2011-0004.html"
  }, {
    "type" : "WEB",
    "url" : "http://www.vupen.com/english/advisories/2011/0606"
  } ],
  "database_specific" : {
    "cwe_ids" : [ ],
    "severity" : "HIGH",
    "github_reviewed" : false,
    "github_reviewed_at" : null,
    "nvd_published_at" : "2010-06-08T18:30:00Z"
  }
}