CVE-2018-1000097
published 2018-03-13CVE-2018-1000097: Sharutils sharutils (unshar command) version 4.15.2 contains a Buffer Overflow vulnerability in Affected component on the file unshar.c at line 75, function…
PriorityP337high7.8CVSS 3.0
AVLACLPRNUIRSUCHIHAH
EPSS
2.03%
78.7th percentile
Sharutils sharutils (unshar command) version 4.15.2 contains a Buffer Overflow vulnerability in Affected component on the file unshar.c at line 75, function looks_like_c_code. Failure to perform checking of the buffer containing input line. that can result in Could lead to code execution. This attack appear to be exploitable via Victim have to run unshar command on a specially crafted file..
Affected
17 ranges
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| canonical | ubuntu_linux | — | — |
| canonical | ubuntu_linux | — | — |
| canonical | ubuntu_linux | — | — |
| debian | debian_linux | — | — |
| debian | debian_linux | — | — |
| debian | sharutils | < sharutils 1:4.15.2-3 (bookworm) | sharutils 1:4.15.2-3 (bookworm) |
| gnu | sharutils | — | — |
| gnu | sharutils | >= 0 < 1:4.15.2-3 | 1:4.15.2-3 |
| gnu | sharutils | >= 0 < 1:4.15.2-3 | 1:4.15.2-3 |
| gnu | sharutils | >= 0 < 1:4.15.2-3 | 1:4.15.2-3 |
| gnu | sharutils | >= 0 < 1:4.15.2-3 | 1:4.15.2-3 |
| msrc | azl3_sharutils_4.15.2-21_on_azure_linux_3.0 | — | — |
| msrc | azure_linux_3.0_arm | — | — |
| msrc | azure_linux_3.0_x64 | — | — |
| msrc | cbl2_sharutils_4.15.2-20_on_cbl_mariner_2.0 | — | — |
| msrc | cbl_mariner_2.0_arm | — | — |
| msrc | cbl_mariner_2.0_x64 | — | — |
CVSS provenance
nvdv3.07.8HIGHCVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
nvdv2.06.8MEDIUMAV:N/AC:M/Au:N/C:P/I:P/A:P
osv7.8HIGH
vendor_debian7.8HIGH
vendor_msrc7.8HIGH
vendor_redhat7.8HIGH
Stop checking back — get the weekly exploitation signal.
Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.
Ubuntu
Sharutils vulnerability
vendor_ubuntu·2018-03-22
CVE-2018-1000097 Sharutils vulnerability
Title: Sharutils vulnerability
Summary: Sharutils could be made to execute arbitrary code if it opened a specially crafted
file.
It was discovered that Sharutils incorrectly handled certain files. An attacker
could possibly use this to execute arbitrary code.
Instructions: In general, a standard system update will make all the necessary changes.
Microsoft
Sharutils sharutils (unshar command) version 4.15.2 contains a Buffer Overflow vulnerability in Affected component on the file unshar.c at line 75, function looks_like_c_code. Failure to perform check
vendor_msrc·2018-03-13·CVSS 7.8
CVE-2018-1000097 [HIGH] CWE-119 Sharutils sharutils (unshar command) version 4.15.2 contains a Buffer Overflow vulnerability in Affected component on the file unshar.c at line 75, function looks_like_c_code. Failure to perform check
Sharutils sharutils (unshar command) version 4.15.2 contains a Buffer Overflow vulnerability in Affected component on the file unshar.c at line 75, function looks_like_c_code. Failure to perform checking of the buffer containing input line. that can result in Could lead to code execution. This attack appear to be exploitable via Victim have to run unshar command on a specially crafted file..
FAQ: Is Azure Linux the only Microsoft product that includes this open-source library and is therefore potentially affected by this vulnerability?
One of the main benefits to our customers who choose to use the Azure Linux distro is the commitment to keep it up to date with the most recent and most secure versions of the open source libraries with which the distro is composed. Microsoft is committed t
Red Hat
sharutils: heap-buffer-overflow in find_archive in unshar.c
vendor_redhat·2018-02-21·CVSS 7.8
CVE-2018-1000097 [HIGH] CWE-122 sharutils: heap-buffer-overflow in find_archive in unshar.c
sharutils: heap-buffer-overflow in find_archive in unshar.c
Sharutils sharutils (unshar command) version 4.15.2 contains a Buffer Overflow vulnerability in Affected component on the file unshar.c at line 75, function looks_like_c_code. Failure to perform checking of the buffer containing input line. that can result in Could lead to code execution. This attack appear to be exploitable via Victim have to run unshar command on a specially crafted file..
A heap-based out-of-bounds read flaw was found in the way Sharutils parsed archive files. An attacker could potentially use this flaw to crash Unshar by tricking it into processing crafted archive files.
Package: sharutils (Red Hat Enterprise Linux 5) - Not affected
Package: sharutils (Red Hat Enterprise Linux 6) - Not affected
Package: s
Debian
CVE-2018-1000097: sharutils - Sharutils sharutils (unshar command) version 4.15.2 contains a Buffer Overflow v...
vendor_debian·2018·CVSS 7.8
CVE-2018-1000097 [HIGH] CVE-2018-1000097: sharutils - Sharutils sharutils (unshar command) version 4.15.2 contains a Buffer Overflow v...
Sharutils sharutils (unshar command) version 4.15.2 contains a Buffer Overflow vulnerability in Affected component on the file unshar.c at line 75, function looks_like_c_code. Failure to perform checking of the buffer containing input line. that can result in Could lead to code execution. This attack appear to be exploitable via Victim have to run unshar command on a specially crafted file..
Scope: local
bookworm: resolved (fixed in 1:4.15.2-3)
bullseye: resolved (fixed in 1:4.15.2-3)
forky: resolved (fixed in 1:4.15.2-3)
sid: resolved (fixed in 1:4.15.2-3)
trixie: resolved (fixed in 1:4.15.2-3)
GHSA
GHSA-vp78-rw8x-8cfq: Sharutils sharutils (unshar command) version 4
ghsa_unreviewed·2022-05-14
CVE-2018-1000097 [HIGH] CWE-119 GHSA-vp78-rw8x-8cfq: Sharutils sharutils (unshar command) version 4
Sharutils sharutils (unshar command) version 4.15.2 contains a Buffer Overflow vulnerability in Affected component on the file unshar.c at line 75, function looks_like_c_code. Failure to perform checking of the buffer containing input line. that can result in Could lead to code execution. This attack appear to be exploitable via Victim have to run unshar command on a specially crafted file..
OSV
CVE-2018-1000097: Sharutils sharutils (unshar command) version 4
osv·2018-03-13·CVSS 7.8
CVE-2018-1000097 [HIGH] CVE-2018-1000097: Sharutils sharutils (unshar command) version 4
Sharutils sharutils (unshar command) version 4.15.2 contains a Buffer Overflow vulnerability in Affected component on the file unshar.c at line 75, function looks_like_c_code. Failure to perform checking of the buffer containing input line. that can result in Could lead to code execution. This attack appear to be exploitable via Victim have to run unshar command on a specially crafted file..
No detection rules found.
No public exploits indexed.
Bugzilla
CVE-2018-1000097 sharutils: heap-buffer-overflow in find_archive in unshar.c
bugzilla·2018-02-22·CVSS 7.8
CVE-2018-1000097 [HIGH] CVE-2018-1000097 sharutils: heap-buffer-overflow in find_archive in unshar.c
CVE-2018-1000097 sharutils: heap-buffer-overflow in find_archive in unshar.c
A flaw was found in Sharutils 4.15.2, a heap buffer overflow in Unshar. This may allow an attacker to perform a Denial of Service attack or possible have another unspecified impact.
Discussion:
Created sharutils tracking bugs for this issue:
Affects: fedora-all [bug 1548019]
---
Is this the upstream bug report ? (The same author send another bug report sooner .)
---
Created attachment 1399466
A proposed fix
---
(In reply to Petr Pisar from comment #2)
> Is this this upstream bug report
> ?
It is according to the back trace.
---
sharutils-4.15.2-8.fc27 has been pushed to the Fedora 27 stable repository. If problems still persist, please make note of it in this bug report.
---
sharutils-4.15.2-6.fc26
Bugzilla
CVE-2018-1000097 sharutils: heap-buffer-overflow in find_archive in unshar.c [fedora-all]
bugzilla·2018-02-22·CVSS 7.8
CVE-2018-1000097 [HIGH] CVE-2018-1000097 sharutils: heap-buffer-overflow in find_archive in unshar.c [fedora-all]
CVE-2018-1000097 sharutils: heap-buffer-overflow in find_archive in unshar.c [fedora-all]
This is an automatically created tracking bug! It was created to ensure
that one or more security vulnerabilities are fixed in affected versions
of fedora-all.
For comments that are specific to the vulnerability please use bugs filed
against the "Security Response" product referenced in the "Blocks" field.
For more information see:
http://fedoraproject.org/wiki/Security/TrackingBugs
When submitting as an update, use the fedpkg template provided in the next
comment(s). This will include the bug IDs of this tracking bug as well as
the relevant top-level CVE bugs.
Please also mention the CVE IDs being fixed in the RPM changelog and the
fedpkg commit message.
NOTE: this issue affects multiple suppor
2018-03-13
Published