Lucene search

K
archlinuxArchLinuxASA-201908-14
HistoryAug 24, 2019 - 12:00 a.m.

[ASA-201908-14] gettext: arbitrary code execution

2019-08-2400:00:00
security.archlinux.org
7

9.8 High

CVSS3

Attack Vector

NETWORK

Attack Complexity

LOW

Privileges Required

NONE

User Interaction

NONE

Scope

UNCHANGED

Confidentiality Impact

HIGH

Integrity Impact

HIGH

Availability Impact

HIGH

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

7.5 High

CVSS2

Access Vector

NETWORK

Access Complexity

LOW

Authentication

NONE

Confidentiality Impact

PARTIAL

Integrity Impact

PARTIAL

Availability Impact

PARTIAL

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

0.025 Low

EPSS

Percentile

90.0%

Arch Linux Security Advisory ASA-201908-14

Severity: High
Date : 2019-08-24
CVE-ID : CVE-2018-18751
Package : gettext
Type : arbitrary code execution
Remote : Yes
Link : https://security.archlinux.org/AVG-885

Summary

The package gettext before version 0.20.1-1 is vulnerable to arbitrary
code execution.

Resolution

Upgrade to 0.20.1-1.

pacman -Syu “gettext>=0.20.1-1”

The problem has been fixed upstream in version 0.20.1.

Workaround

None.

Description

An issue was discovered in GNU gettext 0.19.8. There is a double free
in default_add_message in read-catalog.c, related to an invalid free in
po_gram_parse in po-gram-gen.y, as demonstrated by lt-msgfmt.

Impact

A local attacker is able to execute arbitrary code by using a specially
crafted message.

References

https://github.com/CCCCCrash/POCs/tree/master/Bin/Tools-gettext-0.19.8.1/heapcorruption
https://github.com/CCCCCrash/POCs/tree/master/Bin/Tools-gettext-0.19.8.1/doublefree
https://git.savannah.gnu.org/gitweb/?p=gettext.git;a=commitdiff;h=dce3a16
https://security.archlinux.org/CVE-2018-18751

OSVersionArchitecturePackageVersionFilename
ArchLinuxanyanygettext< 0.20.1-1UNKNOWN

9.8 High

CVSS3

Attack Vector

NETWORK

Attack Complexity

LOW

Privileges Required

NONE

User Interaction

NONE

Scope

UNCHANGED

Confidentiality Impact

HIGH

Integrity Impact

HIGH

Availability Impact

HIGH

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

7.5 High

CVSS2

Access Vector

NETWORK

Access Complexity

LOW

Authentication

NONE

Confidentiality Impact

PARTIAL

Integrity Impact

PARTIAL

Availability Impact

PARTIAL

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

0.025 Low

EPSS

Percentile

90.0%