Vulnerability · Published Apr 25, 2022 · Assigned by mitre
CVE-2022-28506
Medium 5.5
In plain English
A medium-severity security flaw in the giflib package (Alpine). There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 1.3% (higher than 70% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Severity (CVSS NVD)5.5Medium
Exploit odds (30 days)1.3%top 30.4% of all CVEs
Exploited in the wildNo reportsnot in CISA KEV
Attack toolingNoneno public tooling known
Official description
There is a heap-buffer-overflow in GIFLIB 5.2.1 function DumpScreen2RGB() in gif2rgb.c:298:45.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Alpine:v3.20 | giflib | 5.2.1-r2 | ALPINE-CVE-2022-28506 |
| Alpine:v3.21 | giflib | 5.2.1-r2 | ALPINE-CVE-2022-28506 |
| Alpine:v3.22 | giflib | 5.2.1-r2 | ALPINE-CVE-2022-28506 |
| Alpine:v3.23 | giflib | 5.2.1-r2 | ALPINE-CVE-2022-28506 |
| Alpine:v3.24 | giflib | 5.2.1-r2 | ALPINE-CVE-2022-28506 |
| Debian:12 | giflib | no fix listed | DEBIAN-CVE-2022-28506 |
| Debian:13 | giflib | 5.2.2-1 | DEBIAN-CVE-2022-28506 |
| Debian:14 | giflib | 5.2.2-1 | DEBIAN-CVE-2022-28506 |
| Ubuntu:22.04:LTS | giflib | 5.1.9-2ubuntu0.1 | UBUNTU-CVE-2022-28506 |
| Ubuntu:22.04:LTS | giflib | 5.1.9-2ubuntu0.1 | USN-6824-1 |
Affected products (as reported)
References
- https://github.com/verf1sh/Poc/blob/master/giflib_poc x_refsource_MISC
- https://github.com/verf1sh/Poc/blob/master/asan_report_giflib.png x_refsource_MISC
- https://sourceforge.net/p/giflib/bugs/159/ x_refsource_MISC
- FEDORA-2022-964883b2a5 vendor-advisory, x_refsource_FEDORA
- FEDORA-2022-91f353b8be vendor-advisory, x_refsource_FEDORA