fkie_cve-2015-0860
Vulnerability from fkie_nvd
Published
2015-12-03 20:59
Modified
2025-04-12 10:46
Severity ?
Summary
Off-by-one error in the extracthalf function in dpkg-deb/extract.c in the dpkg-deb component in Debian dpkg 1.16.x before 1.16.17 and 1.17.x before 1.17.26 allows remote attackers to execute arbitrary code via the archive magic version number in an "old-style" Debian binary package, which triggers a stack-based buffer overflow.
Impacted products
Vendor Product Version
canonical ubuntu_linux 12.04
canonical ubuntu_linux 14.04
canonical ubuntu_linux 15.04
canonical ubuntu_linux 15.10
debian dpkg 1.16.0
debian dpkg 1.16.0.1
debian dpkg 1.16.0.2
debian dpkg 1.16.0.3
debian dpkg 1.16.1
debian dpkg 1.16.1.1
debian dpkg 1.16.1.2
debian dpkg 1.16.2
debian dpkg 1.16.3
debian dpkg 1.16.4
debian dpkg 1.16.4.1
debian dpkg 1.16.4.2
debian dpkg 1.16.4.3
debian dpkg 1.16.5
debian dpkg 1.16.6
debian dpkg 1.16.7
debian dpkg 1.16.8
debian dpkg 1.16.9
debian dpkg 1.16.10
debian dpkg 1.16.11
debian dpkg 1.16.12
debian dpkg 1.16.15
debian dpkg 1.17.0
debian dpkg 1.17.1
debian dpkg 1.17.2
debian dpkg 1.17.3
debian dpkg 1.17.4
debian dpkg 1.17.5
debian dpkg 1.17.6
debian dpkg 1.17.7
debian dpkg 1.17.8
debian dpkg 1.17.9
debian dpkg 1.17.10
debian dpkg 1.17.11
debian dpkg 1.17.12
debian dpkg 1.17.13
debian dpkg 1.17.14
debian dpkg 1.17.15
debian dpkg 1.17.16
debian dpkg 1.17.17
debian dpkg 1.17.18
debian dpkg 1.17.19
debian dpkg 1.17.20
debian dpkg 1.17.21
debian dpkg 1.17.22
debian dpkg 1.17.23
debian dpkg 1.17.24
debian dpkg 1.17.25



{
  "configurations": [
    {
      "nodes": [
        {
          "cpeMatch": [
            {
              "criteria": "cpe:2.3:o:canonical:ubuntu_linux:12.04:*:*:*:lts:*:*:*",
              "matchCriteriaId": "B6B7CAD7-9D4E-4FDB-88E3-1E583210A01F",
              "vulnerable": true
            },
            {
              "criteria": "cpe:2.3:o:canonical:ubuntu_linux:14.04:*:*:*:lts:*:*:*",
              "matchCriteriaId": "B5A6F2F3-4894-4392-8296-3B8DD2679084",
              "vulnerable": true
            },
            {
              "criteria": "cpe:2.3:o:canonical:ubuntu_linux:15.04:*:*:*:*:*:*:*",
              "matchCriteriaId": "F38D3B7E-8429-473F-BB31-FC3583EE5A5B",
              "vulnerable": true
            },
            {
              "criteria": "cpe:2.3:o:canonical:ubuntu_linux:15.10:*:*:*:*:*:*:*",
              "matchCriteriaId": "E88A537F-F4D0-46B9-9E37-965233C2A355",
              "vulnerable": true
            }
          ],
          "negate": false,
          "operator": "OR"
        }
      ]
    },
    {
      "nodes": [
        {
          "cpeMatch": [
            {
              "criteria": "cpe:2.3:a:debian:dpkg:1.16.0:*:*:*:*:*:*:*",
              "matchCriteriaId": "60B76474-A71E-4BEA-880B-88A8F0E9E79D",
              "vulnerable": true
            },
            {
              "criteria": "cpe:2.3:a:debian:dpkg:1.16.0.1:*:*:*:*:*:*:*",
              "matchCriteriaId": "5918D066-8950-44D5-9F14-72C499F9F40A",
              "vulnerable": true
            },
            {
              "criteria": "cpe:2.3:a:debian:dpkg:1.16.0.2:*:*:*:*:*:*:*",
              "matchCriteriaId": "623BF341-D9EC-43DF-BA62-D45FDC1FE4E9",
              "vulnerable": true
            },
            {
              "criteria": "cpe:2.3:a:debian:dpkg:1.16.0.3:*:*:*:*:*:*:*",
              "matchCriteriaId": "4D6692AB-7927-4D4B-8E11-EA9B7B93836C",
              "vulnerable": true
            },
            {
              "criteria": "cpe:2.3:a:debian:dpkg:1.16.1:*:*:*:*:*:*:*",
              "matchCriteriaId": "B6EE875E-DEC4-443C-8921-B4658CA2B2C3",
              "vulnerable": true
            },
            {
              "criteria": "cpe:2.3:a:debian:dpkg:1.16.1.1:*:*:*:*:*:*:*",
              "matchCriteriaId": "4BDD2CFE-61E4-436E-9D49-7F1977904EB8",
              "vulnerable": true
            },
            {
              "criteria": "cpe:2.3:a:debian:dpkg:1.16.1.2:*:*:*:*:*:*:*",
              "matchCriteriaId": "12DB535B-9C12-4B13-8B6E-AB4EEC1CFF9D",
              "vulnerable": true
            },
            {
              "criteria": "cpe:2.3:a:debian:dpkg:1.16.2:*:*:*:*:*:*:*",
              "matchCriteriaId": "6675F9A6-FA20-4AF7-B57F-85595103AA61",
              "vulnerable": true
            },
            {
              "criteria": "cpe:2.3:a:debian:dpkg:1.16.3:*:*:*:*:*:*:*",
              "matchCriteriaId": "3322B7E4-D815-40B6-836A-2D070F9D0528",
              "vulnerable": true
            },
            {
              "criteria": "cpe:2.3:a:debian:dpkg:1.16.4:*:*:*:*:*:*:*",
              "matchCriteriaId": "A67143CC-3137-49B3-955C-43C405DB847B",
              "vulnerable": true
            },
            {
              "criteria": "cpe:2.3:a:debian:dpkg:1.16.4.1:*:*:*:*:*:*:*",
              "matchCriteriaId": "B1CA956E-51BC-428E-9730-31797A34BE3C",
              "vulnerable": true
            },
            {
              "criteria": "cpe:2.3:a:debian:dpkg:1.16.4.2:*:*:*:*:*:*:*",
              "matchCriteriaId": "3AFC055D-9B64-428C-9D85-CFC2F27EB906",
              "vulnerable": true
            },
            {
              "criteria": "cpe:2.3:a:debian:dpkg:1.16.4.3:*:*:*:*:*:*:*",
              "matchCriteriaId": "00E6E62F-B11F-4060-8AAF-A9FA73749422",
              "vulnerable": true
            },
            {
              "criteria": "cpe:2.3:a:debian:dpkg:1.16.5:*:*:*:*:*:*:*",
              "matchCriteriaId": "0B05CB56-6994-4F75-8015-03F554CD7D78",
              "vulnerable": true
            },
            {
              "criteria": "cpe:2.3:a:debian:dpkg:1.16.6:*:*:*:*:*:*:*",
              "matchCriteriaId": "B5CF35EC-CCBF-4096-BCAF-98A15DE6D78C",
              "vulnerable": true
            },
            {
              "criteria": "cpe:2.3:a:debian:dpkg:1.16.7:*:*:*:*:*:*:*",
              "matchCriteriaId": "42C819CC-48E9-4E85-A564-456A27481852",
              "vulnerable": true
            },
            {
              "criteria": "cpe:2.3:a:debian:dpkg:1.16.8:*:*:*:*:*:*:*",
              "matchCriteriaId": "9D7B2152-3086-4094-8AE2-6E1AF9D35BF7",
              "vulnerable": true
            },
            {
              "criteria": "cpe:2.3:a:debian:dpkg:1.16.9:*:*:*:*:*:*:*",
              "matchCriteriaId": "EF5B9CC6-C288-4E8C-AC99-D4717DBE63FC",
              "vulnerable": true
            },
            {
              "criteria": "cpe:2.3:a:debian:dpkg:1.16.10:*:*:*:*:*:*:*",
              "matchCriteriaId": "65CD971C-EB83-4456-A368-F57B9391599A",
              "vulnerable": true
            },
            {
              "criteria": "cpe:2.3:a:debian:dpkg:1.16.11:*:*:*:*:*:*:*",
              "matchCriteriaId": "B8CA877A-533B-4B60-A90B-8A958FCA2DF1",
              "vulnerable": true
            },
            {
              "criteria": "cpe:2.3:a:debian:dpkg:1.16.12:*:*:*:*:*:*:*",
              "matchCriteriaId": "B71A62D9-8013-4528-8EB0-75C18435AE24",
              "vulnerable": true
            },
            {
              "criteria": "cpe:2.3:a:debian:dpkg:1.16.15:*:*:*:*:*:*:*",
              "matchCriteriaId": "096CA319-CBAA-498E-A559-6B6F8690CEFE",
              "vulnerable": true
            },
            {
              "criteria": "cpe:2.3:a:debian:dpkg:1.17.0:*:*:*:*:*:*:*",
              "matchCriteriaId": "D18D2B08-C8DD-475D-8E7D-F39E8C24723B",
              "vulnerable": true
            },
            {
              "criteria": "cpe:2.3:a:debian:dpkg:1.17.1:*:*:*:*:*:*:*",
              "matchCriteriaId": "BA424995-B5E0-4C8A-862B-5290506DF94E",
              "vulnerable": true
            },
            {
              "criteria": "cpe:2.3:a:debian:dpkg:1.17.2:*:*:*:*:*:*:*",
              "matchCriteriaId": "43F974E2-41AF-42B2-8EE7-02724FD37673",
              "vulnerable": true
            },
            {
              "criteria": "cpe:2.3:a:debian:dpkg:1.17.3:*:*:*:*:*:*:*",
              "matchCriteriaId": "EFD1F763-34E3-4B39-9184-6CCCD75733A0",
              "vulnerable": true
            },
            {
              "criteria": "cpe:2.3:a:debian:dpkg:1.17.4:*:*:*:*:*:*:*",
              "matchCriteriaId": "1C8ADF13-CEF9-400B-BACA-F64AFDEEED7D",
              "vulnerable": true
            },
            {
              "criteria": "cpe:2.3:a:debian:dpkg:1.17.5:*:*:*:*:*:*:*",
              "matchCriteriaId": "2B2595A0-024B-4C82-8626-9471A3FB96D6",
              "vulnerable": true
            },
            {
              "criteria": "cpe:2.3:a:debian:dpkg:1.17.6:*:*:*:*:*:*:*",
              "matchCriteriaId": "E81B04E7-FBA1-45D3-B458-3B57DF331796",
              "vulnerable": true
            },
            {
              "criteria": "cpe:2.3:a:debian:dpkg:1.17.7:*:*:*:*:*:*:*",
              "matchCriteriaId": "934A9FC7-1B44-4A70-83B6-21783C5BB9BB",
              "vulnerable": true
            },
            {
              "criteria": "cpe:2.3:a:debian:dpkg:1.17.8:*:*:*:*:*:*:*",
              "matchCriteriaId": "A66344A0-A556-4E72-9954-CBC0FF9B900F",
              "vulnerable": true
            },
            {
              "criteria": "cpe:2.3:a:debian:dpkg:1.17.9:*:*:*:*:*:*:*",
              "matchCriteriaId": "82E72C4D-373A-4E74-A038-AD79EA0845D7",
              "vulnerable": true
            },
            {
              "criteria": "cpe:2.3:a:debian:dpkg:1.17.10:*:*:*:*:*:*:*",
              "matchCriteriaId": "13D89B07-FB9C-4D88-91A1-431FB91605DC",
              "vulnerable": true
            },
            {
              "criteria": "cpe:2.3:a:debian:dpkg:1.17.11:*:*:*:*:*:*:*",
              "matchCriteriaId": "067D13A0-0DBA-4749-9E5C-428338758C49",
              "vulnerable": true
            },
            {
              "criteria": "cpe:2.3:a:debian:dpkg:1.17.12:*:*:*:*:*:*:*",
              "matchCriteriaId": "955DA593-FD4C-4BC8-8B64-CA193892C1CE",
              "vulnerable": true
            },
            {
              "criteria": "cpe:2.3:a:debian:dpkg:1.17.13:*:*:*:*:*:*:*",
              "matchCriteriaId": "6E35346F-2FCD-42D3-ADE2-D25DCBF11D86",
              "vulnerable": true
            },
            {
              "criteria": "cpe:2.3:a:debian:dpkg:1.17.14:*:*:*:*:*:*:*",
              "matchCriteriaId": "681BF89B-6501-4992-A953-578908C68ECC",
              "vulnerable": true
            },
            {
              "criteria": "cpe:2.3:a:debian:dpkg:1.17.15:*:*:*:*:*:*:*",
              "matchCriteriaId": "3E9DD402-ADC7-4000-A6C8-D62DA2BD8A22",
              "vulnerable": true
            },
            {
              "criteria": "cpe:2.3:a:debian:dpkg:1.17.16:*:*:*:*:*:*:*",
              "matchCriteriaId": "E26692A1-6DE7-4295-99BD-EFF9B0C20162",
              "vulnerable": true
            },
            {
              "criteria": "cpe:2.3:a:debian:dpkg:1.17.17:*:*:*:*:*:*:*",
              "matchCriteriaId": "A5B65F0D-1708-4B73-B9C3-033E8150348D",
              "vulnerable": true
            },
            {
              "criteria": "cpe:2.3:a:debian:dpkg:1.17.18:*:*:*:*:*:*:*",
              "matchCriteriaId": "A257BEDB-0148-4EE6-B7EA-0DE39752F897",
              "vulnerable": true
            },
            {
              "criteria": "cpe:2.3:a:debian:dpkg:1.17.19:*:*:*:*:*:*:*",
              "matchCriteriaId": "1A046309-41A1-420C-ABF3-090AD11C9EBB",
              "vulnerable": true
            },
            {
              "criteria": "cpe:2.3:a:debian:dpkg:1.17.20:*:*:*:*:*:*:*",
              "matchCriteriaId": "198C70C8-EB31-4E54-A690-727518FBCD6C",
              "vulnerable": true
            },
            {
              "criteria": "cpe:2.3:a:debian:dpkg:1.17.21:*:*:*:*:*:*:*",
              "matchCriteriaId": "130E8C0F-0649-4F32-921F-A51EEA4981DF",
              "vulnerable": true
            },
            {
              "criteria": "cpe:2.3:a:debian:dpkg:1.17.22:*:*:*:*:*:*:*",
              "matchCriteriaId": "8FF133CE-B3D1-48C2-8AC1-938E70820CF3",
              "vulnerable": true
            },
            {
              "criteria": "cpe:2.3:a:debian:dpkg:1.17.23:*:*:*:*:*:*:*",
              "matchCriteriaId": "13C6ED10-12DC-4896-9B8A-E05BAB5B5DEE",
              "vulnerable": true
            },
            {
              "criteria": "cpe:2.3:a:debian:dpkg:1.17.24:*:*:*:*:*:*:*",
              "matchCriteriaId": "32CCB09B-144F-48E0-BB8C-453C15292F7F",
              "vulnerable": true
            },
            {
              "criteria": "cpe:2.3:a:debian:dpkg:1.17.25:*:*:*:*:*:*:*",
              "matchCriteriaId": "781C2E3F-A281-499B-A0AA-404117EAA63D",
              "vulnerable": true
            }
          ],
          "negate": false,
          "operator": "OR"
        }
      ]
    }
  ],
  "cveTags": [],
  "descriptions": [
    {
      "lang": "en",
      "value": "Off-by-one error in the extracthalf function in dpkg-deb/extract.c in the dpkg-deb component in Debian dpkg 1.16.x before 1.16.17 and 1.17.x before 1.17.26 allows remote attackers to execute arbitrary code via the archive magic version number in an \"old-style\" Debian binary package, which triggers a stack-based buffer overflow."
    },
    {
      "lang": "es",
      "value": "Error por un paso en la funci\u00f3n extracthalf en dpkg-deb/extract.c en el componente dpkg-deb en Debian dpkg 1.16.x en versiones anteriores a 1.16.17 y 1.17.x en versiones anteriores a 1.17.26 permite a atacantes remotos ejecutar c\u00f3digo arbitrario a trav\u00e9s del n\u00famero m\u00e1gico de versi\u00f3n del archivo en un paquete binario de Debian \u0027old-style\u0027, lo que desencadena un desbordamiento de buffer basado en pila."
    }
  ],
  "id": "CVE-2015-0860",
  "lastModified": "2025-04-12T10:46:40.837",
  "metrics": {
    "cvssMetricV2": [
      {
        "acInsufInfo": false,
        "baseSeverity": "HIGH",
        "cvssData": {
          "accessComplexity": "LOW",
          "accessVector": "NETWORK",
          "authentication": "NONE",
          "availabilityImpact": "PARTIAL",
          "baseScore": 7.5,
          "confidentialityImpact": "PARTIAL",
          "integrityImpact": "PARTIAL",
          "vectorString": "AV:N/AC:L/Au:N/C:P/I:P/A:P",
          "version": "2.0"
        },
        "exploitabilityScore": 10.0,
        "impactScore": 6.4,
        "obtainAllPrivilege": false,
        "obtainOtherPrivilege": false,
        "obtainUserPrivilege": false,
        "source": "nvd@nist.gov",
        "type": "Primary",
        "userInteractionRequired": false
      }
    ]
  },
  "published": "2015-12-03T20:59:01.847",
  "references": [
    {
      "source": "security@debian.org",
      "tags": [
        "Vendor Advisory"
      ],
      "url": "http://www.debian.org/security/2015/dsa-3407"
    },
    {
      "source": "security@debian.org",
      "url": "http://www.ubuntu.com/usn/USN-2820-1"
    },
    {
      "source": "security@debian.org",
      "url": "https://anonscm.debian.org/cgit/dpkg/dpkg.git/commit/dpkg-deb/extract.c?id=e65aa3db04eb908c9507d5d356a95cedb890814d"
    },
    {
      "source": "security@debian.org",
      "url": "https://blog.fuzzing-project.org/30-Stack-overflows-and-out-of-bounds-read-in-dpkg-Debian.html"
    },
    {
      "source": "security@debian.org",
      "url": "https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=798324"
    },
    {
      "source": "security@debian.org",
      "url": "https://security.gentoo.org/glsa/201612-07"
    },
    {
      "source": "af854a3a-2127-422b-91ae-364da2661108",
      "tags": [
        "Vendor Advisory"
      ],
      "url": "http://www.debian.org/security/2015/dsa-3407"
    },
    {
      "source": "af854a3a-2127-422b-91ae-364da2661108",
      "url": "http://www.ubuntu.com/usn/USN-2820-1"
    },
    {
      "source": "af854a3a-2127-422b-91ae-364da2661108",
      "url": "https://anonscm.debian.org/cgit/dpkg/dpkg.git/commit/dpkg-deb/extract.c?id=e65aa3db04eb908c9507d5d356a95cedb890814d"
    },
    {
      "source": "af854a3a-2127-422b-91ae-364da2661108",
      "url": "https://blog.fuzzing-project.org/30-Stack-overflows-and-out-of-bounds-read-in-dpkg-Debian.html"
    },
    {
      "source": "af854a3a-2127-422b-91ae-364da2661108",
      "url": "https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=798324"
    },
    {
      "source": "af854a3a-2127-422b-91ae-364da2661108",
      "url": "https://security.gentoo.org/glsa/201612-07"
    }
  ],
  "sourceIdentifier": "security@debian.org",
  "vulnStatus": "Deferred",
  "weaknesses": [
    {
      "description": [
        {
          "lang": "en",
          "value": "CWE-189"
        }
      ],
      "source": "nvd@nist.gov",
      "type": "Primary"
    }
  ]
}


Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Sightings

Author Source Type Date

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or seen somewhere by the user.
  • Confirmed: The vulnerability is confirmed from an analyst perspective.
  • Exploited: This vulnerability was exploited and seen by the user reporting the sighting.
  • Patched: This vulnerability was successfully patched by the user reporting the sighting.
  • Not exploited: This vulnerability was not exploited or seen by the user reporting the sighting.
  • Not confirmed: The user expresses doubt about the veracity of the vulnerability.
  • Not patched: This vulnerability was not successfully patched by the user reporting the sighting.


Loading…

Loading…