ubuntu-cve-2017-9048
Vulnerability from osv_ubuntu
Published
2017-05-18 00:00
Modified
2026-04-22 07:38
Summary
Details

libxml2 20904-GITv2.9.4-16-g0741801 is vulnerable to a stack-based buffer overflow. The function xmlSnprintfElementContent in valid.c is supposed to recursively dump the element content definition into a char buffer 'buf' of size 'size'. At the end of the routine, the function may strcat two more characters without checking whether the current strlen(buf) + 2 < size. This vulnerability causes programs that use libxml2, such as PHP, to crash.


{
  "affected": [
    {
      "ecosystem_specific": {
        "availability": "No subscription required",
        "binaries": [
          {
            "binary_name": "libxml2",
            "binary_version": "2.9.1+dfsg1-3ubuntu4.10"
          },
          {
            "binary_name": "libxml2-utils",
            "binary_version": "2.9.1+dfsg1-3ubuntu4.10"
          },
          {
            "binary_name": "python-libxml2",
            "binary_version": "2.9.1+dfsg1-3ubuntu4.10"
          }
        ]
      },
      "package": {
        "ecosystem": "Ubuntu:14.04:LTS",
        "name": "libxml2",
        "purl": "pkg:deb/ubuntu/libxml2@2.9.1+dfsg1-3ubuntu4.10?arch=source\u0026distro=trusty"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "2.9.1+dfsg1-3ubuntu4.10"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "2.9.1+dfsg1-3ubuntu2",
        "2.9.1+dfsg1-3ubuntu3",
        "2.9.1+dfsg1-3ubuntu4",
        "2.9.1+dfsg1-3ubuntu4.1",
        "2.9.1+dfsg1-3ubuntu4.2",
        "2.9.1+dfsg1-3ubuntu4.3",
        "2.9.1+dfsg1-3ubuntu4.4",
        "2.9.1+dfsg1-3ubuntu4.5",
        "2.9.1+dfsg1-3ubuntu4.6",
        "2.9.1+dfsg1-3ubuntu4.7",
        "2.9.1+dfsg1-3ubuntu4.8",
        "2.9.1+dfsg1-3ubuntu4.9"
      ]
    },
    {
      "ecosystem_specific": {
        "availability": "No subscription required",
        "binaries": [
          {
            "binary_name": "libxml2",
            "binary_version": "2.9.3+dfsg1-1ubuntu0.3"
          },
          {
            "binary_name": "libxml2-utils",
            "binary_version": "2.9.3+dfsg1-1ubuntu0.3"
          },
          {
            "binary_name": "python-libxml2",
            "binary_version": "2.9.3+dfsg1-1ubuntu0.3"
          }
        ]
      },
      "package": {
        "ecosystem": "Ubuntu:16.04:LTS",
        "name": "libxml2",
        "purl": "pkg:deb/ubuntu/libxml2@2.9.3+dfsg1-1ubuntu0.3?arch=source\u0026distro=xenial"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "2.9.3+dfsg1-1ubuntu0.3"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "2.9.2+zdfsg1-4",
        "2.9.2+zdfsg1-4ubuntu1",
        "2.9.2+zdfsg1-4ubuntu2",
        "2.9.2+zdfsg1-4ubuntu3",
        "2.9.3+dfsg1-1",
        "2.9.3+dfsg1-1ubuntu0.1",
        "2.9.3+dfsg1-1ubuntu0.2"
      ]
    }
  ],
  "aliases": [],
  "details": "libxml2 20904-GITv2.9.4-16-g0741801 is vulnerable to a stack-based buffer overflow. The function xmlSnprintfElementContent in valid.c is supposed to recursively dump the element content definition into a char buffer \u0027buf\u0027 of size \u0027size\u0027. At the end of the routine, the function may strcat two more characters without checking whether the current strlen(buf) + 2 \u003c size. This vulnerability causes programs that use libxml2, such as PHP, to crash.",
  "id": "UBUNTU-CVE-2017-9048",
  "modified": "2026-04-22T07:38:15Z",
  "published": "2017-05-18T00:00:00Z",
  "references": [
    {
      "type": "REPORT",
      "url": "https://ubuntu.com/security/CVE-2017-9048"
    },
    {
      "type": "REPORT",
      "url": "http://www.openwall.com/lists/oss-security/2017/05/15/1"
    },
    {
      "type": "ADVISORY",
      "url": "https://ubuntu.com/security/notices/USN-3424-1"
    },
    {
      "type": "ADVISORY",
      "url": "https://ubuntu.com/security/notices/USN-3424-2"
    },
    {
      "type": "REPORT",
      "url": "https://www.cve.org/CVERecord?id=CVE-2017-9048"
    }
  ],
  "related": [
    "USN-3424-1",
    "USN-3424-2"
  ],
  "schema_version": "1.7.0",
  "severity": [
    {
      "score": "CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H",
      "type": "CVSS_V3"
    },
    {
      "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H",
      "type": "CVSS_V3"
    },
    {
      "score": "medium",
      "type": "Ubuntu"
    }
  ],
  "upstream": [
    "CVE-2017-9048"
  ]
}



Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Forecast uses a logistic model when the trend is rising, or an exponential decay model when the trend is falling. Fitted via linearized least squares.

Sightings

Author Source Type Date Other

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or observed by the user.
  • Confirmed: The vulnerability has been validated from an analyst's perspective.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
  • Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
  • Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
  • Not confirmed: The user expressed doubt about the validity of the vulnerability.
  • Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.

Loading…

Detection rules are retrieved from Rulezet.

Loading…

Loading…