CVE-2010-1797: Software Security Vulnerability Vulnerability

HIGH
Advisory Identifier: GHSA-mph3-mc9x-x334
CWE-119
Published
Advisory Summary

CVE-2010-1797 is a HIGH security vulnerability vulnerability (CWE-119: Improper Restriction of Operations within the Bounds of a Memory Buffer) affecting Software libraries in the Maven ecosystem. The weakness occurs when the product performs operations on a memory buffer, but it reads from or writes to a memory location outside the buffer's intended boundary. this may result in read or write operations on unexpected memory locations that could be linked to other variables, data structures, or internal program data.. Remediation is available in the latest vendor maintenance releases.

CVE-2010-1797 at a Glance

CVE Identifier CVE-2010-1797
GHSA Identifier GHSA-mph3-mc9x-x334
Severity HIGH
CVSS v3.1 Base Score N/A
CWE Classification CWE-119: Improper Restriction of Operations within the Bounds of a Memory Buffer
Affected Product Software
Package Ecosystem Maven
Published Date
Last Updated

How to Fix CVE-2010-1797

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-1797, 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-119: Improper Restriction of Operations within the Bounds of a Memory Buffer, where the product performs operations on a memory buffer, but it reads from or writes to a memory location outside the buffer's intended boundary. this may result in read or write operations on unexpected memory locations that could be linked to other variables, data structures, or internal program data. 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

Multiple stack-based buffer overflows in the cff_decoder_parse_charstrings function in the CFF Type2 CharStrings interpreter in cff/cffgload.c in FreeType before 2.4.2, as used in Apple iOS before 4.0.2 on the iPhone and iPod touch and before 3.2.2 on the iPad, allow remote attackers to execute arbitrary code or cause a denial of service (memory corruption) via crafted CFF opcodes in embedded fonts in a PDF document, as demonstrated by JailbreakMe. NOTE: some of these details are obtained from third party information.

References

NVD — CVE-2010-1797 NVD
https://nvd.nist.gov/vuln/detail/CVE-2010-1797
bugs.launchpad.net/ubuntu/maverick/+so... WEB
https://bugs.launchpad.net/ubuntu/maverick/+source/freetype/+bug/617019
bugzilla.redhat.com/show_bug.cgi WEB
https://bugzilla.redhat.com/show_bug.cgi?id=621144
exchange.xforce.ibmcloud.com/vulnerabilities/608... WEB
https://exchange.xforce.ibmcloud.com/vulnerabilities/60856
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=018f5c27813dd7eef4648fe254632ecea0c85a50
git.savannah.gnu.org/cgit/freetype/freet... WEB
http://git.savannah.gnu.org/cgit/freetype/freetype2.git/commit/?id=11d65e8a1f1f14e56148fd991965424d9bd1cdbc
Software Security Information SECURITY
http://lists.apple.com/archives/security-announce/2010//Aug/msg00000.html
Software Security Information SECURITY
http://lists.apple.com/archives/security-announce/2010//Aug/msg00001.html
osvdb.org/66828 WEB
http://osvdb.org/66828
secunia.com/advisories/40807 WEB
http://secunia.com/advisories/40807
secunia.com/advisories/40816 WEB
http://secunia.com/advisories/40816
secunia.com/advisories/40982 WEB
http://secunia.com/advisories/40982
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/ht4291 WEB
http://support.apple.com/kb/HT4291
support.apple.com/kb/ht4292 WEB
http://support.apple.com/kb/HT4292
www.exploit-db.com/exploits/14538 WEB
http://www.exploit-db.com/exploits/14538
www.f-secure.com/weblog/archives/000... WEB
http://www.f-secure.com/weblog/archives/00002002.html
Software Security Information SECURITY
http://www.securityfocus.com/bid/42151
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

Frequently Asked Questions

What is CVE-2010-1797?
CVE-2010-1797 is a security vulnerability in Software classified as a security vulnerability vulnerability under CWE-119: Improper Restriction of Operations within the Bounds of a Memory Buffer.
Which Software versions are affected?
Affected versions include releases prior to current release patches.
What version fixes CVE-2010-1797?
Upgrading to current release patches (or the latest patched release for your respective branch) resolves the vulnerability.
What CWE is associated with CVE-2010-1797?
CVE-2010-1797 is classified under CWE-119: Improper Restriction of Operations within the Bounds of a Memory Buffer (The product performs operations on a memory buffer, but it reads from or writes to a memory location outside the buffer's intended boundary. This may result in read or write operations on unexpected memory locations that could be linked to other variables, data structures, or internal program data.).
How can I check Maven dependencies for CVE-2010-1797?
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-mph3-mc9x-x334",
  "modified" : "2022-05-13T01:10:01Z",
  "published" : "2022-05-13T01:10:01Z",
  "aliases" : [ "CVE-2010-1797" ],
  "details" : "Multiple stack-based buffer overflows in the cff_decoder_parse_charstrings function in the CFF Type2 CharStrings interpreter in cff/cffgload.c in FreeType before 2.4.2, as used in Apple iOS before 4.0.2 on the iPhone and iPod touch and before 3.2.2 on the iPad, allow remote attackers to execute arbitrary code or cause a denial of service (memory corruption) via crafted CFF opcodes in embedded fonts in a PDF document, as demonstrated by JailbreakMe. NOTE: some of these details are obtained from third party information.",
  "severity" : [ ],
  "affected" : [ ],
  "references" : [ {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2010-1797"
  }, {
    "type" : "WEB",
    "url" : "https://bugs.launchpad.net/ubuntu/maverick/+source/freetype/+bug/617019"
  }, {
    "type" : "WEB",
    "url" : "https://bugzilla.redhat.com/show_bug.cgi?id=621144"
  }, {
    "type" : "WEB",
    "url" : "https://exchange.xforce.ibmcloud.com/vulnerabilities/60856"
  }, {
    "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=018f5c27813dd7eef4648fe254632ecea0c85a50"
  }, {
    "type" : "WEB",
    "url" : "http://git.savannah.gnu.org/cgit/freetype/freetype2.git/commit/?id=11d65e8a1f1f14e56148fd991965424d9bd1cdbc"
  }, {
    "type" : "WEB",
    "url" : "http://lists.apple.com/archives/security-announce/2010//Aug/msg00000.html"
  }, {
    "type" : "WEB",
    "url" : "http://lists.apple.com/archives/security-announce/2010//Aug/msg00001.html"
  }, {
    "type" : "WEB",
    "url" : "http://osvdb.org/66828"
  }, {
    "type" : "WEB",
    "url" : "http://secunia.com/advisories/40807"
  }, {
    "type" : "WEB",
    "url" : "http://secunia.com/advisories/40816"
  }, {
    "type" : "WEB",
    "url" : "http://secunia.com/advisories/40982"
  }, {
    "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/HT4291"
  }, {
    "type" : "WEB",
    "url" : "http://support.apple.com/kb/HT4292"
  }, {
    "type" : "WEB",
    "url" : "http://www.exploit-db.com/exploits/14538"
  }, {
    "type" : "WEB",
    "url" : "http://www.f-secure.com/weblog/archives/00002002.html"
  }, {
    "type" : "WEB",
    "url" : "http://www.securityfocus.com/bid/42151"
  }, {
    "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"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-119" ],
    "severity" : "HIGH",
    "github_reviewed" : false,
    "github_reviewed_at" : null,
    "nvd_published_at" : "2010-08-16T18:39:00Z"
  }
}