CVE-2017-7961
The cr_tknzr_parse_rgb function in cr-tknzr.c in libcroco 0.6.11 and 0.6.12 has an "outside the range of representable values of type long"…
Published 9 y ago · modified 4 mo ago · JSON
Summary
The cr_tknzr_parse_rgb function in cr-tknzr.c in libcroco 0.6.11 and 0.6.12 has an "outside the range of representable values of type long" undefined behavior issue, which might allow remote attackers to cause a denial of service (application crash) or possibly have unspecified other impact via a crafted CSS file. NOTE: third-party analysis reports "This is not a security issue in my view. The conversion surely is truncating the double into a long value, but there is no impact as the value is one of the RGB components.
CISA SSVC assessment
- Exploitation
- Proof of concept public
- Automatable
- no
- Technical impact
- total
- Assessed
- 2 y ago
Exploit prediction (EPSS)
1.97% probability of exploitation in the next 30 days, higher than 80% of all scored CVEs.
CVSS scores
| Assigned by | Version | Score | Vector |
|---|---|---|---|
| CISA ADP | 3.1 | 7.8 | CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H |
| CNA | 3.1 | 7.8 | CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H |
| NVD | 3.0 | 7.8 | CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H |
| NVD | 2.0 | 6.8 | AV:N/AC:M/Au:N/C:P/I:P/A:P |
Classification
- Weakness
- CWE-119 Improper Restriction of Operations within the Bounds of a Memory Buffer
References
- git.gnome.org /browse/libcroco/commit/?id=9ad72875e9f08e4c519ef63d44cdbd94aa9504f7 · x_refsource_MISC, x_transferred
- security.gentoo.org /glsa/201707-13 · vendor-advisory, x_refsource_GENTOO, x_transferred
- openwall.com /lists/oss-security/2017/04/24/2 · x_refsource_MISC, x_transferred
- bugzilla.suse.com /show_bug.cgi?id=1034482 · x_refsource_MISC, x_transferred
- blogs.gentoo.org /ago/2017/04/17/libcroco-heap-overflow-and-undefined-behavior/ · x_refsource_MISC, x_transferred
- lists.opensuse.org /opensuse-security-announce/2019-06/msg00043.html · vendor-advisory, x_refsource_SUSE, x_transferred
Sources
- CVE List: CVE-2017-7961
- NVD: CVE-2017-7961
vulnwire keeps one entry per vulnerability: the CVE id wins, then GHSA; records that alias each other are merged. Machine-readable: JSON.