CVE-2010-2805: Software Security Vulnerability Vulnerability

MODERATE
Advisory Identifier: GHSA-w5qw-jrjj-73c5
CWE-20
Published
Advisory Summary

CVE-2010-2805 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-2010-2805 at a Glance

CVE Identifier CVE-2010-2805
GHSA Identifier GHSA-w5qw-jrjj-73c5
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-2010-2805

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

The FT_Stream_EnterFrame function in base/ftstream.c in FreeType before 2.4.2 does not properly validate certain position values, which allows remote attackers to cause a denial of service (application crash) or possibly execute arbitrary code via a crafted font file.

References

NVD — CVE-2010-2805 NVD
https://nvd.nist.gov/vuln/detail/CVE-2010-2805
bugs.launchpad.net/ubuntu/maverick/+so... WEB
https://bugs.launchpad.net/ubuntu/maverick/+source/freetype/+bug/617019
savannah.nongnu.org/bugs/ WEB
https://savannah.nongnu.org/bugs/?30644
freetype.sourceforge.net/index2.html WEB
http://freetype.sourceforge.net/index2.html#release-freetype-2.4.2
git.savannah.gnu.org/cgit/freetype/freet... WEB
http://git.savannah.gnu.org/cgit/freetype/freetype2.git/commit/?id=45a3c76b547511fa9d97aca34b150a0663257375
Software Security Information SECURITY
http://lists.apple.com/archives/security-announce/2010//Nov/msg00000.html
Software Security Information SECURITY
http://lists.apple.com/archives/security-announce/2010//Nov/msg00003.html
marc.info/ WEB
http://marc.info/?l=oss-security&m=128111955616772&w=2
secunia.com/advisories/40816 WEB
http://secunia.com/advisories/40816
secunia.com/advisories/40982 WEB
http://secunia.com/advisories/40982
secunia.com/advisories/42314 WEB
http://secunia.com/advisories/42314
secunia.com/advisories/42317 WEB
http://secunia.com/advisories/42317
secunia.com/advisories/48951 WEB
http://secunia.com/advisories/48951
sourceforge.net/projects/freetype/f... WEB
http://sourceforge.net/projects/freetype/files/freetype2/2.4.2/NEWS/view
support.apple.com/kb/ht4435 WEB
http://support.apple.com/kb/HT4435
support.apple.com/kb/ht4456 WEB
http://support.apple.com/kb/HT4456
support.apple.com/kb/ht4457 WEB
http://support.apple.com/kb/HT4457
www.redhat.com/support/errata/rhsa... WEB
http://www.redhat.com/support/errata/RHSA-2010-0864.html
Software Security Information SECURITY
http://www.securityfocus.com/bid/42285
www.ubuntu.com/usn/usn-972-1 WEB
http://www.ubuntu.com/usn/USN-972-1
www.vupen.com/english/advisories/... WEB
http://www.vupen.com/english/advisories/2010/2018
www.vupen.com/english/advisories/... WEB
http://www.vupen.com/english/advisories/2010/2106
www.vupen.com/english/advisories/... WEB
http://www.vupen.com/english/advisories/2010/3045
www.vupen.com/english/advisories/... WEB
http://www.vupen.com/english/advisories/2010/3046

Frequently Asked Questions

What is CVE-2010-2805?
CVE-2010-2805 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-2010-2805?
Upgrading to current release patches (or the latest patched release for your respective branch) resolves the vulnerability.
What CWE is associated with CVE-2010-2805?
CVE-2010-2805 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-2010-2805?
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-w5qw-jrjj-73c5",
  "modified" : "2022-05-13T01:11:16Z",
  "published" : "2022-05-13T01:11:16Z",
  "aliases" : [ "CVE-2010-2805" ],
  "details" : "The FT_Stream_EnterFrame function in base/ftstream.c in FreeType before 2.4.2 does not properly validate certain position values, which allows remote attackers to cause a denial of service (application crash) or possibly execute arbitrary code via a crafted font file.",
  "severity" : [ ],
  "affected" : [ ],
  "references" : [ {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2010-2805"
  }, {
    "type" : "WEB",
    "url" : "https://bugs.launchpad.net/ubuntu/maverick/+source/freetype/+bug/617019"
  }, {
    "type" : "WEB",
    "url" : "https://savannah.nongnu.org/bugs/?30644"
  }, {
    "type" : "WEB",
    "url" : "http://freetype.sourceforge.net/index2.html#release-freetype-2.4.2"
  }, {
    "type" : "WEB",
    "url" : "http://git.savannah.gnu.org/cgit/freetype/freetype2.git/commit/?id=45a3c76b547511fa9d97aca34b150a0663257375"
  }, {
    "type" : "WEB",
    "url" : "http://lists.apple.com/archives/security-announce/2010//Nov/msg00000.html"
  }, {
    "type" : "WEB",
    "url" : "http://lists.apple.com/archives/security-announce/2010//Nov/msg00003.html"
  }, {
    "type" : "WEB",
    "url" : "http://marc.info/?l=oss-security&m=128111955616772&w=2"
  }, {
    "type" : "WEB",
    "url" : "http://secunia.com/advisories/40816"
  }, {
    "type" : "WEB",
    "url" : "http://secunia.com/advisories/40982"
  }, {
    "type" : "WEB",
    "url" : "http://secunia.com/advisories/42314"
  }, {
    "type" : "WEB",
    "url" : "http://secunia.com/advisories/42317"
  }, {
    "type" : "WEB",
    "url" : "http://secunia.com/advisories/48951"
  }, {
    "type" : "WEB",
    "url" : "http://sourceforge.net/projects/freetype/files/freetype2/2.4.2/NEWS/view"
  }, {
    "type" : "WEB",
    "url" : "http://support.apple.com/kb/HT4435"
  }, {
    "type" : "WEB",
    "url" : "http://support.apple.com/kb/HT4456"
  }, {
    "type" : "WEB",
    "url" : "http://support.apple.com/kb/HT4457"
  }, {
    "type" : "WEB",
    "url" : "http://www.redhat.com/support/errata/RHSA-2010-0864.html"
  }, {
    "type" : "WEB",
    "url" : "http://www.securityfocus.com/bid/42285"
  }, {
    "type" : "WEB",
    "url" : "http://www.ubuntu.com/usn/USN-972-1"
  }, {
    "type" : "WEB",
    "url" : "http://www.vupen.com/english/advisories/2010/2018"
  }, {
    "type" : "WEB",
    "url" : "http://www.vupen.com/english/advisories/2010/2106"
  }, {
    "type" : "WEB",
    "url" : "http://www.vupen.com/english/advisories/2010/3045"
  }, {
    "type" : "WEB",
    "url" : "http://www.vupen.com/english/advisories/2010/3046"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-20" ],
    "severity" : "MODERATE",
    "github_reviewed" : false,
    "github_reviewed_at" : null,
    "nvd_published_at" : "2010-08-19T18:00:00Z"
  }
}