CVE-2017-5331
published 2019-11-04CVE-2017-5331: Integer overflow in the check_offset function in b/wrestool/fileread.c in icoutils before 0.31.1 allows local users to cause a denial of service (process…
PriorityP433high7.8CVSS 3.1
AVLACLPRLUINSUCHIHAH
EPSS
0.46%
37.0th percentile
Integer overflow in the check_offset function in b/wrestool/fileread.c in icoutils before 0.31.1 allows local users to cause a denial of service (process crash) and execute arbitrary code via a crafted executable.
Affected
14 ranges
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| canonical | ubuntu_linux | — | — |
| debian | debian_linux | — | — |
| debian | debian_linux | — | — |
| debian | icoutils | < icoutils 0.31.1-1 (bookworm) | icoutils 0.31.1-1 (bookworm) |
| debian | icoutils | — | — |
| icoutils_project | icoutils | < 0.31.1 | 0.31.1 |
| icoutils_project | icoutils | >= 0 < 0.31.1-1 | 0.31.1-1 |
| icoutils_project | icoutils | >= 0 < 0.31.1-1 | 0.31.1-1 |
| icoutils_project | icoutils | >= 0 < 0.31.1-1 | 0.31.1-1 |
| icoutils_project | icoutils | >= 0 < 0.31.1-1 | 0.31.1-1 |
| icoutils_project | icoutils | >= 0 < 0.31.0-3ubuntu0.1 | 0.31.0-3ubuntu0.1 |
| opensuse | leap | — | — |
| opensuse | leap | — | — |
| opensuse | opensuse | — | — |
CVSS provenance
nvdv3.17.8HIGHCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
nvdv2.04.6MEDIUMAV:L/AC:L/Au:N/C:P/I:P/A:P
osv8.8HIGH
vendor_redhat8.8HIGH
vendor_ubuntu8.8HIGH
vendor_debian7.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.
GHSA
GHSA-pp7c-cq7m-4vmc: Integer overflow in the check_offset function in b/wrestool/fileread
ghsa_unreviewed·2022-05-24
CVE-2017-5331 [HIGH] CWE-190 GHSA-pp7c-cq7m-4vmc: Integer overflow in the check_offset function in b/wrestool/fileread
Integer overflow in the check_offset function in b/wrestool/fileread.c in icoutils before 0.31.1 allows local users to cause a denial of service (process crash) and execute arbitrary code via a crafted executable.
OSV
icoutils vulnerabilities
osv·2021-01-18·CVSS 8.8
CVE-2017-5208 [HIGH] icoutils vulnerabilities
icoutils vulnerabilities
Choongwoo Han discovered that icoutils incorrectly handled certain files.
An attacker could possibly use this issue to cause a denial of service
or execute arbitrary code. (CVE-2017-5208)
It was discovered that icoutils incorrectly handled certain files.
An attacker could possibly use this issue to cause a denial of service
or execute arbitrary code. (CVE-2017-5331, CVE-2017-5332, CVE-2017-5333)
Jerzy Kramarz discovered that icoutils incorrectly handled certain files.
An attacker could possibly use this issue to cause a crash or execute
arbitrary code. (CVE-2017-6009, CVE-2017-6010)
Jerzy Kramarz discovered that icoutils incorrectly handled certain files.
An attacker could possibly use this issue to expose sensitive information.
(CVE-2017-6011)
OSV
CVE-2017-5331: Integer overflow in the check_offset function in b/wrestool/fileread
osv·2019-11-04·CVSS 7.8
CVE-2017-5331 [HIGH] CVE-2017-5331: Integer overflow in the check_offset function in b/wrestool/fileread
Integer overflow in the check_offset function in b/wrestool/fileread.c in icoutils before 0.31.1 allows local users to cause a denial of service (process crash) and execute arbitrary code via a crafted executable.
Ubuntu
icoutils vulnerabilities
vendor_ubuntu·2021-01-18·CVSS 8.8
CVE-2017-5332 [HIGH] icoutils vulnerabilities
Title: icoutils vulnerabilities
Summary: Several security issues were fixed in icoutils.
Choongwoo Han discovered that icoutils incorrectly handled certain files.
An attacker could possibly use this issue to cause a denial of service
or execute arbitrary code. (CVE-2017-5208)
It was discovered that icoutils incorrectly handled certain files.
An attacker could possibly use this issue to cause a denial of service
or execute arbitrary code. (CVE-2017-5331, CVE-2017-5332, CVE-2017-5333)
Jerzy Kramarz discovered that icoutils incorrectly handled certain files.
An attacker could possibly use this issue to cause a crash or execute
arbitrary code. (CVE-2017-6009, CVE-2017-6010)
Jerzy Kramarz discovered that icoutils incorrectly handled certain files.
An attacker could possibly use this issue
Ubuntu
icoutils vulnerabilities
vendor_ubuntu·2017-01-24
CVE-2017-5208 icoutils vulnerabilities
Title: icoutils vulnerabilities
Summary: icoutils could be made to crash or run programs as your login if it opened
a specially crafted file.
It was discovered that icoutils incorrectly handled memory when processing
certain files. If a user or automated system were tricked into opening a
specially crafted file, an attacker could cause icoutils to crash,
resulting in a denial of service, or possibly execute arbitrary code.
Instructions: In general, a standard system update will make all the necessary changes.
Red Hat
icoutils: Check_offset overflow on 64-bit systems
vendor_redhat·2017-01-08·CVSS 8.8
CVE-2017-5331 [HIGH] CWE-190 icoutils: Check_offset overflow on 64-bit systems
icoutils: Check_offset overflow on 64-bit systems
Integer overflow in the check_offset function in b/wrestool/fileread.c in icoutils before 0.31.1 allows local users to cause a denial of service (process crash) and execute arbitrary code via a crafted executable.
Statement: This issue did not affect the versions of icoutils as shipped with Red Hat
Enterprise Linux 7 as they did not backport the vulnerable patches
provided to fix a previous flaw (CVE-2017-5208).
Package: icoutils (Red Hat Enterprise Linux 7) - Not affected
Debian
CVE-2017-5331: icoutils - Integer overflow in the check_offset function in b/wrestool/fileread.c in icouti...
vendor_debian·2017·CVSS 7.8
CVE-2017-5331 [HIGH] CVE-2017-5331: icoutils - Integer overflow in the check_offset function in b/wrestool/fileread.c in icouti...
Integer overflow in the check_offset function in b/wrestool/fileread.c in icoutils before 0.31.1 allows local users to cause a denial of service (process crash) and execute arbitrary code via a crafted executable.
Scope: local
bookworm: resolved (fixed in 0.31.1-1)
bullseye: resolved (fixed in 0.31.1-1)
forky: resolved (fixed in 0.31.1-1)
sid: resolved (fixed in 0.31.1-1)
trixie: resolved (fixed in 0.31.1-1)
No detection rules found.
No public exploits indexed.
Bugzilla
CVE-2017-5331 icoutils: Check_offset overflow on 64-bit systems
bugzilla·2017-01-11·CVSS 8.8
CVE-2017-5331 [HIGH] CVE-2017-5331 icoutils: Check_offset overflow on 64-bit systems
CVE-2017-5331 icoutils: Check_offset overflow on 64-bit systems
An integer overflow vulnerability was found in icoutils in the wrestool program. A maliciously crafted file could make the application crash or possibly allow code execution. This is a CVE for an insufficient patch for CVE-2017-5208.
References:
http://seclists.org/oss-sec/2017/q1/56
Upstream patch:
http://git.savannah.gnu.org/cgit/icoutils.git/commit/?id=4fbe9222fd79ee31b7ec031b0be070a9a400d1d3
Discussion:
Statement:
This issue did not affect the versions of icoutils as shipped with Red Hat
Enterprise Linux 7 as they did not backport the vulnerable patches
provided to fix a previous flaw (CVE-2017-5208).
---
Created icoutils tracking bugs for this issue:
Affects: fedora-all [bug 1412265]
Affects: epel-6 [bug 141226
Bugzilla
CVE-2017-5331 CVE-2017-5332 CVE-2017-5333 icoutils: various flaws [fedora-all]
bugzilla·2017-01-11·CVSS 7.8
CVE-2017-5331 [HIGH] CVE-2017-5331 CVE-2017-5332 CVE-2017-5333 icoutils: various flaws [fedora-all]
CVE-2017-5331 CVE-2017-5332 CVE-2017-5333 icoutils: various flaws [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.
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 supported versions of
Bugzilla
CVE-2017-5331 CVE-2017-5332 CVE-2017-5333 icoutils: various flaws [epel-6]
bugzilla·2017-01-11·CVSS 7.8
CVE-2017-5331 [HIGH] CVE-2017-5331 CVE-2017-5332 CVE-2017-5333 icoutils: various flaws [epel-6]
CVE-2017-5331 CVE-2017-5332 CVE-2017-5333 icoutils: various flaws [epel-6]
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 EPEL.
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.
[bug automatically created by: add-tracking-bugs]
Di
Bugzilla
CVE-2017-5208 icoutils: Check_offset overflow on 64-bit systems
bugzilla·2017-01-09·CVSS 8.8
CVE-2017-5208 [HIGH] CVE-2017-5208 icoutils: Check_offset overflow on 64-bit systems
CVE-2017-5208 icoutils: Check_offset overflow on 64-bit systems
An integer overflow vulnerability was found in icoutils in the wrestool program. A maliciously crafted file could make the application crash or possibly allow code execution.
References:
http://seclists.org/oss-sec/2017/q1/38
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=850017
Upstream patches:
http://git.savannah.gnu.org/cgit/icoutils.git/commit/?id=0d569f458f306b88f60156d60c9cf058125cf173
http://git.savannah.gnu.org/cgit/icoutils.git/commit/?id=4fbe9222fd79ee31b7ec031b0be070a9a400d1d3
Discussion:
Created icoutils tracking bugs for this issue:
Affects: fedora-all [bug 1411252]
Affects: epel-6 [bug 1411253]
---
As noted in comment 0, the patch for CVE-5208-5331 (bug 1412248) must be included to correctly address
http://lists.opensuse.org/opensuse-security-announce/2017-01/msg00024.htmlhttp://lists.opensuse.org/opensuse-security-announce/2017-01/msg00025.htmlhttp://lists.opensuse.org/opensuse-security-announce/2017-01/msg00026.htmlhttp://www.debian.org/security/2017/dsa-3765http://www.openwall.com/lists/oss-security/2017/01/11/3http://www.securityfocus.com/bid/95378http://www.ubuntu.com/usn/USN-3178-1https://bugzilla.redhat.com/show_bug.cgi?id=1412248http://lists.opensuse.org/opensuse-security-announce/2017-01/msg00024.htmlhttp://lists.opensuse.org/opensuse-security-announce/2017-01/msg00025.htmlhttp://lists.opensuse.org/opensuse-security-announce/2017-01/msg00026.htmlhttp://www.debian.org/security/2017/dsa-3765http://www.openwall.com/lists/oss-security/2017/01/11/3http://www.securityfocus.com/bid/95378http://www.ubuntu.com/usn/USN-3178-1https://bugzilla.redhat.com/show_bug.cgi?id=1412248
2019-11-04
Published