CVE-2017-14166

Source
https://cve.org/CVERecord?id=CVE-2017-14166
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2017-14166.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2017-14166
Downstream
Related
Published
2017-09-06T18:29:00.273Z
Modified
2026-02-05T04:33:28.604116Z
Severity
  • 6.5 (Medium) CVSS_V3 - CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H CVSS Calculator
Summary
[none]
Details

libarchive 3.3.2 allows remote attackers to cause a denial of service (xmldata heap-based buffer over-read and application crash) via a crafted xar archive, related to the mishandling of empty strings in the atol8 function in archivereadsupportformat_xar.c.

References

Affected packages

Git / github.com/libarchive/libarchive

Affected ranges

Type
GIT
Repo
https://github.com/libarchive/libarchive
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed

Affected versions

v2.*
v2.6.0
v2.6.1
v2.6.2
v2.7.0
v2.7.1
v2.8.0
v2.8.1
v2.8.2
v2.8.3
v2.8.4
v2.8.5
v3.*
v3.0.0a
v3.0.1b
v3.0.2
v3.0.3
v3.0.4
v3.1.0
v3.1.1
v3.1.2
v3.1.900a
v3.1.901a
v3.2.0
v3.2.1
v3.2.2
v3.3.0
v3.3.1
v3.3.2

Database specific

vanir_signatures
[
    {
        "deprecated": false,
        "source": "https://github.com/libarchive/libarchive/commit/fa7438a0ff4033e4741c807394a9af6207940d71",
        "id": "CVE-2017-14166-8b8c9fe3",
        "target": {
            "file": "libarchive/archive_read_support_format_xar.c",
            "function": "atol8"
        },
        "digest": {
            "function_hash": "22896334843526093180736066296199390258",
            "length": 252.0
        },
        "signature_type": "Function",
        "signature_version": "v1"
    },
    {
        "deprecated": false,
        "source": "https://github.com/libarchive/libarchive/commit/fa7438a0ff4033e4741c807394a9af6207940d71",
        "id": "CVE-2017-14166-d6ce55c2",
        "target": {
            "file": "libarchive/archive_read_support_format_xar.c"
        },
        "digest": {
            "line_hashes": [
                "306826382494510933660800859828621127375",
                "263019307768072499342249514957965856663",
                "335663963310048766376761345995812168806",
                "99099958808001043042586216301068977286",
                "202259133909944234003097793124428872639",
                "182001944860290744146342507656516228755"
            ],
            "threshold": 0.9
        },
        "signature_type": "Line",
        "signature_version": "v1"
    },
    {
        "deprecated": false,
        "source": "https://github.com/libarchive/libarchive/commit/fa7438a0ff4033e4741c807394a9af6207940d71",
        "id": "CVE-2017-14166-efb70994",
        "target": {
            "file": "libarchive/archive_read_support_format_xar.c",
            "function": "atol10"
        },
        "digest": {
            "function_hash": "23263452411327199978277794560809399548",
            "length": 239.0
        },
        "signature_type": "Function",
        "signature_version": "v1"
    }
]
source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2017-14166.json"