Lucene search

K
huntrJieyongma104D8C5D-CAC5-4BAA-9AC9-291EA0BCAB95
HistoryApr 20, 2022 - 8:31 a.m.

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.

2022-04-2008:31:26
jieyongma
www.huntr.dev
6

5.5 Medium

CVSS3

Attack Vector

LOCAL

Attack Complexity

LOW

Privileges Required

NONE

User Interaction

REQUIRED

Scope

UNCHANGED

Confidentiality Impact

NONE

Integrity Impact

NONE

Availability Impact

HIGH

CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H

4.3 Medium

CVSS2

Access Vector

NETWORK

Access Complexity

MEDIUM

Authentication

NONE

Confidentiality Impact

NONE

Integrity Impact

NONE

Availability Impact

PARTIAL

AV:N/AC:M/Au:N/C:N/I:N/A:P

0.001 Low

EPSS

Percentile

27.7%

Steps to reproduce the issue

git clone https://github.com/hpjansson/chafa.git

cd chafa

export CFLAGS=“-g -O0”
export CXXFLAGS=“-g -O0”
./autogen.sh
./configure --disable-shared

make

./tools/chafa/chafa ./poc.gif

gdb --args ./tools/chafa/chafa ./poc.gif

https://github.com/JieyongMa/poc/raw/main/gdb.jpg

Proof of Concept

https://github.com/JieyongMa/poc/raw/main/poc.gif

5.5 Medium

CVSS3

Attack Vector

LOCAL

Attack Complexity

LOW

Privileges Required

NONE

User Interaction

REQUIRED

Scope

UNCHANGED

Confidentiality Impact

NONE

Integrity Impact

NONE

Availability Impact

HIGH

CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H

4.3 Medium

CVSS2

Access Vector

NETWORK

Access Complexity

MEDIUM

Authentication

NONE

Confidentiality Impact

NONE

Integrity Impact

NONE

Availability Impact

PARTIAL

AV:N/AC:M/Au:N/C:N/I:N/A:P

0.001 Low

EPSS

Percentile

27.7%