Vulnerability · Published Apr 27, 2022 · Assigned by @huntrdev
CVE-2022-1507chafa: NULL Pointer Dereference in function gif_internal_decode_frame at libnsgif.c:599 allows attackers to cause a denial of service (crash) via a crafted input file. in hpjansson/chafa
Medium 5.5
In plain English
A medium-severity null pointer dereference in hpjansson/chafa from hpjansson. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.9% (higher than 59% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official description
chafa: NULL Pointer Dereference in function gif_internal_decode_frame at libnsgif.c:599 allows attackers to cause a denial of service (crash) via a crafted input file. in GitHub repository hpjansson/chafa prior to 1.10.2. chafa: NULL Pointer Dereference in function gif_internal_decode_frame at libnsgif.c:599 allows attackers to cause a denial of service (crash) via a crafted input file.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian:12 | chafa | 1.10.2-1 | DEBIAN-CVE-2022-1507 |
| Debian:13 | chafa | 1.10.2-1 | DEBIAN-CVE-2022-1507 |
| Debian:14 | chafa | 1.10.2-1 | DEBIAN-CVE-2022-1507 |
| Ubuntu:22.04:LTS | chafa | no fix listed | UBUNTU-CVE-2022-1507 |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| hpjansson | hpjansson/chafa | unspecified – before 1.10.2 |
Weakness: CWE-476 · Vector: CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
References
- https://huntr.dev/bounties/104d8c5d-cac5-4baa-9ac9-291ea0bcab95 x_refsource_CONFIRM
- https://github.com/hpjansson/chafa/commit/e4b777c7b7c144cd16a0ea96108267b1004fe6c9 x_refsource_MISC
- FEDORA-2022-e72698d659 vendor-advisory, x_refsource_FEDORA
- FEDORA-2022-4bdf35a1b5 vendor-advisory, x_refsource_FEDORA
- FEDORA-2022-0aab67e874 vendor-advisory, x_refsource_FEDORA