CVE-2008-2316: Software Security Vulnerability Vulnerability

HIGH
Advisory Identifier: GHSA-482h-xg25-ghqh
Published
Advisory Summary

CVE-2008-2316 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-2008-2316 at a Glance

CVE Identifier CVE-2008-2316
GHSA Identifier GHSA-482h-xg25-ghqh
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-2008-2316

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-2008-2316, 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

Integer overflow in _hashopenssl.c in the hashlib module in Python 2.5.2 and earlier might allow context-dependent attackers to defeat cryptographic digests, related to "partial hashlib hashing of data exceeding 4GB."

References

NVD — CVE-2008-2316 NVD
https://nvd.nist.gov/vuln/detail/CVE-2008-2316
exchange.xforce.ibmcloud.com/vulnerabilities/441... WEB
https://exchange.xforce.ibmcloud.com/vulnerabilities/44173
exchange.xforce.ibmcloud.com/vulnerabilities/441... WEB
https://exchange.xforce.ibmcloud.com/vulnerabilities/44174
bugs.gentoo.org/attachment.cgi WEB
http://bugs.gentoo.org/attachment.cgi?id=159422&action=view
bugs.gentoo.org/show_bug.cgi WEB
http://bugs.gentoo.org/show_bug.cgi?id=230640
Software Security Information SECURITY
http://lists.apple.com/archives/security-announce/2009/Feb/msg00000.html
Software Security Information SECURITY
http://lists.opensuse.org/opensuse-security-announce/2008-08/msg00006.html
secunia.com/advisories/31305 WEB
http://secunia.com/advisories/31305
secunia.com/advisories/31332 WEB
http://secunia.com/advisories/31332
secunia.com/advisories/31358 WEB
http://secunia.com/advisories/31358
secunia.com/advisories/31365 WEB
http://secunia.com/advisories/31365
secunia.com/advisories/31473 WEB
http://secunia.com/advisories/31473
secunia.com/advisories/31518 WEB
http://secunia.com/advisories/31518
secunia.com/advisories/31687 WEB
http://secunia.com/advisories/31687
secunia.com/advisories/33937 WEB
http://secunia.com/advisories/33937
Software Security Information SECURITY
http://security.gentoo.org/glsa/glsa-200807-16.xml
Software Security Information SECURITY
http://slackware.com/security/viewer.php?l=slackware-security&y=2008&m=slackware-security.525289
support.apple.com/kb/ht3438 WEB
http://support.apple.com/kb/HT3438
wiki.rpath.com/advisories:rpsa-200... WEB
http://wiki.rpath.com/Advisories:rPSA-2008-0243
Software Security Information SECURITY
http://www.mandriva.com/security/advisories?name=MDVSA-2008:163
www.novell.com/support/search.do WEB
http://www.novell.com/support/search.do?cmd=displayKC&docType=kc&externalId=InfoDocument-patchbuilder-readme5032900
Software Security Information SECURITY
http://www.securityfocus.com/archive/1/495445/100/0/threaded
Software Security Information SECURITY
http://www.securityfocus.com/bid/30491
www.ubuntu.com/usn/usn-632-1 WEB
http://www.ubuntu.com/usn/usn-632-1
www.vupen.com/english/advisories/... WEB
http://www.vupen.com/english/advisories/2008/2288

Frequently Asked Questions

What is CVE-2008-2316?
CVE-2008-2316 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-2008-2316?
Upgrading to current release patches (or the latest patched release for your respective branch) resolves the vulnerability.
What CWE is associated with CVE-2008-2316?
CVE-2008-2316 is classified under General Security Weakness.
How can I check Maven dependencies for CVE-2008-2316?
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-482h-xg25-ghqh",
  "modified" : "2022-05-01T23:48:49Z",
  "published" : "2022-05-01T23:48:49Z",
  "aliases" : [ "CVE-2008-2316" ],
  "details" : "Integer overflow in _hashopenssl.c in the hashlib module in Python 2.5.2 and earlier might allow context-dependent attackers to defeat cryptographic digests, related to \"partial hashlib hashing of data exceeding 4GB.\"",
  "severity" : [ ],
  "affected" : [ ],
  "references" : [ {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2008-2316"
  }, {
    "type" : "WEB",
    "url" : "https://exchange.xforce.ibmcloud.com/vulnerabilities/44173"
  }, {
    "type" : "WEB",
    "url" : "https://exchange.xforce.ibmcloud.com/vulnerabilities/44174"
  }, {
    "type" : "WEB",
    "url" : "http://bugs.gentoo.org/attachment.cgi?id=159422&action=view"
  }, {
    "type" : "WEB",
    "url" : "http://bugs.gentoo.org/show_bug.cgi?id=230640"
  }, {
    "type" : "WEB",
    "url" : "http://lists.apple.com/archives/security-announce/2009/Feb/msg00000.html"
  }, {
    "type" : "WEB",
    "url" : "http://lists.opensuse.org/opensuse-security-announce/2008-08/msg00006.html"
  }, {
    "type" : "WEB",
    "url" : "http://secunia.com/advisories/31305"
  }, {
    "type" : "WEB",
    "url" : "http://secunia.com/advisories/31332"
  }, {
    "type" : "WEB",
    "url" : "http://secunia.com/advisories/31358"
  }, {
    "type" : "WEB",
    "url" : "http://secunia.com/advisories/31365"
  }, {
    "type" : "WEB",
    "url" : "http://secunia.com/advisories/31473"
  }, {
    "type" : "WEB",
    "url" : "http://secunia.com/advisories/31518"
  }, {
    "type" : "WEB",
    "url" : "http://secunia.com/advisories/31687"
  }, {
    "type" : "WEB",
    "url" : "http://secunia.com/advisories/33937"
  }, {
    "type" : "WEB",
    "url" : "http://security.gentoo.org/glsa/glsa-200807-16.xml"
  }, {
    "type" : "WEB",
    "url" : "http://slackware.com/security/viewer.php?l=slackware-security&y=2008&m=slackware-security.525289"
  }, {
    "type" : "WEB",
    "url" : "http://support.apple.com/kb/HT3438"
  }, {
    "type" : "WEB",
    "url" : "http://wiki.rpath.com/Advisories:rPSA-2008-0243"
  }, {
    "type" : "WEB",
    "url" : "http://www.mandriva.com/security/advisories?name=MDVSA-2008:163"
  }, {
    "type" : "WEB",
    "url" : "http://www.novell.com/support/search.do?cmd=displayKC&docType=kc&externalId=InfoDocument-patchbuilder-readme5032900"
  }, {
    "type" : "WEB",
    "url" : "http://www.securityfocus.com/archive/1/495445/100/0/threaded"
  }, {
    "type" : "WEB",
    "url" : "http://www.securityfocus.com/bid/30491"
  }, {
    "type" : "WEB",
    "url" : "http://www.ubuntu.com/usn/usn-632-1"
  }, {
    "type" : "WEB",
    "url" : "http://www.vupen.com/english/advisories/2008/2288"
  } ],
  "database_specific" : {
    "cwe_ids" : [ ],
    "severity" : "HIGH",
    "github_reviewed" : false,
    "github_reviewed_at" : null,
    "nvd_published_at" : "2008-08-01T14:41:00Z"
  }
}