CVE-2010-0442: Software Security Vulnerability Vulnerability

MODERATE
Advisory Identifier: GHSA-gv9m-x3m7-x4g8
Published
Advisory Summary

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

CVE-2010-0442 at a Glance

CVE Identifier CVE-2010-0442
GHSA Identifier GHSA-gv9m-x3m7-x4g8
Severity MODERATE
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-0442

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-0442, 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

The bitsubstr function in backend/utils/adt/varbit.c in PostgreSQL 8.0.23, 8.1.11, and 8.3.8 allows remote authenticated users to cause a denial of service (daemon crash) or have unspecified other impact via vectors involving a negative integer in the third argument, as demonstrated by a SELECT statement that contains a call to the substring function for a bit string, related to an "overflow."

References

NVD — CVE-2010-0442 NVD
https://nvd.nist.gov/vuln/detail/CVE-2010-0442
bugzilla.redhat.com/show_bug.cgi WEB
https://bugzilla.redhat.com/show_bug.cgi?id=559194
bugzilla.redhat.com/show_bug.cgi WEB
https://bugzilla.redhat.com/show_bug.cgi?id=559259
exchange.xforce.ibmcloud.com/vulnerabilities/559... WEB
https://exchange.xforce.ibmcloud.com/vulnerabilities/55902
Software Security Information SECURITY
https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A9720
archives.postgresql.org/pgsql-committers/20... WEB
http://archives.postgresql.org/pgsql-committers/2010-01/msg00125.php
archives.postgresql.org/pgsql-hackers/2010-... WEB
http://archives.postgresql.org/pgsql-hackers/2010-01/msg00634.php
bugs.debian.org/cgi-bin/bugreport.c... WEB
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=567058
git.postgresql.org/gitweb WEB
http://git.postgresql.org/gitweb?p=postgresql.git%3Ba=commit%3Bh=75dea10196c31d98d98c0bafeeb576ae99c09b12
git.postgresql.org/gitweb WEB
http://git.postgresql.org/gitweb?p=postgresql.git%3Ba=commit%3Bh=b15087cb39ca9e4bde3c8920fcee3741045d2b83
git.postgresql.org/gitweb WEB
http://git.postgresql.org/gitweb?p=postgresql.git;a=commit;h=75dea10196c31d98d98c0bafeeb576ae99c09b12
git.postgresql.org/gitweb WEB
http://git.postgresql.org/gitweb?p=postgresql.git;a=commit;h=b15087cb39ca9e4bde3c8920fcee3741045d2b83
intevydis.blogspot.com/2010/01/postgresql-... WEB
http://intevydis.blogspot.com/2010/01/postgresql-8023-bitsubstr-overflow.html
secunia.com/advisories/39566 WEB
http://secunia.com/advisories/39566
secunia.com/advisories/39820 WEB
http://secunia.com/advisories/39820
secunia.com/advisories/39939 WEB
http://secunia.com/advisories/39939
Software Security Information SECURITY
http://securitytracker.com/id?1023510
ubuntu.com/usn/usn-933-1 WEB
http://ubuntu.com/usn/usn-933-1
Software Security Information SECURITY
http://www.debian.org/security/2010/dsa-2051
Software Security Information SECURITY
http://www.mandriva.com/security/advisories?name=MDVSA-2010:103
Software Security Information SECURITY
http://www.openwall.com/lists/oss-security/2010/01/27/5
www.redhat.com/support/errata/rhsa... WEB
http://www.redhat.com/support/errata/RHSA-2010-0427.html
www.redhat.com/support/errata/rhsa... WEB
http://www.redhat.com/support/errata/RHSA-2010-0428.html
www.redhat.com/support/errata/rhsa... WEB
http://www.redhat.com/support/errata/RHSA-2010-0429.html
Software Security Information SECURITY
http://www.securityfocus.com/bid/37973
www.vupen.com/english/advisories/... WEB
http://www.vupen.com/english/advisories/2010/1022
www.vupen.com/english/advisories/... WEB
http://www.vupen.com/english/advisories/2010/1197
www.vupen.com/english/advisories/... WEB
http://www.vupen.com/english/advisories/2010/1207
www.vupen.com/english/advisories/... WEB
http://www.vupen.com/english/advisories/2010/1221

Frequently Asked Questions

What is CVE-2010-0442?
CVE-2010-0442 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-0442?
Upgrading to current release patches (or the latest patched release for your respective branch) resolves the vulnerability.
What CWE is associated with CVE-2010-0442?
CVE-2010-0442 is classified under General Security Weakness.
How can I check Maven dependencies for CVE-2010-0442?
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-gv9m-x3m7-x4g8",
  "modified" : "2022-05-02T06:12:44Z",
  "published" : "2022-05-02T06:12:44Z",
  "aliases" : [ "CVE-2010-0442" ],
  "details" : "The bitsubstr function in backend/utils/adt/varbit.c in PostgreSQL 8.0.23, 8.1.11, and 8.3.8 allows remote authenticated users to cause a denial of service (daemon crash) or have unspecified other impact via vectors involving a negative integer in the third argument, as demonstrated by a SELECT statement that contains a call to the substring function for a bit string, related to an \"overflow.\"",
  "severity" : [ ],
  "affected" : [ ],
  "references" : [ {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2010-0442"
  }, {
    "type" : "WEB",
    "url" : "https://bugzilla.redhat.com/show_bug.cgi?id=559194"
  }, {
    "type" : "WEB",
    "url" : "https://bugzilla.redhat.com/show_bug.cgi?id=559259"
  }, {
    "type" : "WEB",
    "url" : "https://exchange.xforce.ibmcloud.com/vulnerabilities/55902"
  }, {
    "type" : "WEB",
    "url" : "https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A9720"
  }, {
    "type" : "WEB",
    "url" : "http://archives.postgresql.org/pgsql-committers/2010-01/msg00125.php"
  }, {
    "type" : "WEB",
    "url" : "http://archives.postgresql.org/pgsql-hackers/2010-01/msg00634.php"
  }, {
    "type" : "WEB",
    "url" : "http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=567058"
  }, {
    "type" : "WEB",
    "url" : "http://git.postgresql.org/gitweb?p=postgresql.git%3Ba=commit%3Bh=75dea10196c31d98d98c0bafeeb576ae99c09b12"
  }, {
    "type" : "WEB",
    "url" : "http://git.postgresql.org/gitweb?p=postgresql.git%3Ba=commit%3Bh=b15087cb39ca9e4bde3c8920fcee3741045d2b83"
  }, {
    "type" : "WEB",
    "url" : "http://git.postgresql.org/gitweb?p=postgresql.git;a=commit;h=75dea10196c31d98d98c0bafeeb576ae99c09b12"
  }, {
    "type" : "WEB",
    "url" : "http://git.postgresql.org/gitweb?p=postgresql.git;a=commit;h=b15087cb39ca9e4bde3c8920fcee3741045d2b83"
  }, {
    "type" : "WEB",
    "url" : "http://intevydis.blogspot.com/2010/01/postgresql-8023-bitsubstr-overflow.html"
  }, {
    "type" : "WEB",
    "url" : "http://secunia.com/advisories/39566"
  }, {
    "type" : "WEB",
    "url" : "http://secunia.com/advisories/39820"
  }, {
    "type" : "WEB",
    "url" : "http://secunia.com/advisories/39939"
  }, {
    "type" : "WEB",
    "url" : "http://securitytracker.com/id?1023510"
  }, {
    "type" : "WEB",
    "url" : "http://ubuntu.com/usn/usn-933-1"
  }, {
    "type" : "WEB",
    "url" : "http://www.debian.org/security/2010/dsa-2051"
  }, {
    "type" : "WEB",
    "url" : "http://www.mandriva.com/security/advisories?name=MDVSA-2010:103"
  }, {
    "type" : "WEB",
    "url" : "http://www.openwall.com/lists/oss-security/2010/01/27/5"
  }, {
    "type" : "WEB",
    "url" : "http://www.redhat.com/support/errata/RHSA-2010-0427.html"
  }, {
    "type" : "WEB",
    "url" : "http://www.redhat.com/support/errata/RHSA-2010-0428.html"
  }, {
    "type" : "WEB",
    "url" : "http://www.redhat.com/support/errata/RHSA-2010-0429.html"
  }, {
    "type" : "WEB",
    "url" : "http://www.securityfocus.com/bid/37973"
  }, {
    "type" : "WEB",
    "url" : "http://www.vupen.com/english/advisories/2010/1022"
  }, {
    "type" : "WEB",
    "url" : "http://www.vupen.com/english/advisories/2010/1197"
  }, {
    "type" : "WEB",
    "url" : "http://www.vupen.com/english/advisories/2010/1207"
  }, {
    "type" : "WEB",
    "url" : "http://www.vupen.com/english/advisories/2010/1221"
  } ],
  "database_specific" : {
    "cwe_ids" : [ ],
    "severity" : "MODERATE",
    "github_reviewed" : false,
    "github_reviewed_at" : null,
    "nvd_published_at" : "2010-02-02T18:30:00Z"
  }
}