Bug 1647043 (CVE-2018-18751) - CVE-2018-18751 gettext: double free in default_add_message in read-catalog.c
Summary: CVE-2018-18751 gettext: double free in default_add_message in read-catalog.c
Keywords:
Status: CLOSED ERRATA
Alias: CVE-2018-18751
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
low
low
Target Milestone: ---
Assignee: Red Hat Product Security
QA Contact:
URL:
Whiteboard:
Depends On: 1647044 1647045 1647047 1647049 1647050 1648433 1829557 1847114
Blocks: 1647046
TreeView+ depends on / blocked
 
Reported: 2018-11-06 15:20 UTC by Laura Pardo
Modified: 2023-09-07 19:30 UTC (History)
15 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2019-11-06 00:51:25 UTC
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2019:3643 0 None None None 2019-11-05 21:23:46 UTC
Red Hat Product Errata RHSA-2020:1138 0 None None None 2020-03-31 19:27:12 UTC
Red Hat Product Errata RHSA-2020:2485 0 None None None 2020-06-10 15:55:32 UTC
Red Hat Product Errata RHSA-2020:2846 0 None None None 2020-07-07 10:20:43 UTC

Description Laura Pardo 2018-11-06 15:20:39 UTC
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. 


References:
https://github.com/CCCCCrash/POCs/tree/master/Bin/Tools-gettext-0.19.8.1/doublefree 
https://github.com/CCCCCrash/POCs/tree/master/Bin/Tools-gettext-0.19.8.1/heapcorruption

Comment 1 Laura Pardo 2018-11-06 15:21:52 UTC
Created gettext tracking bugs for this issue:

Affects: fedora-all [bug 1647044]


Created mingw-gettext tracking bugs for this issue:

Affects: epel-7 [bug 1647045]
Affects: fedora-all [bug 1647047]

Comment 4 Stefan Cornelius 2018-11-09 17:41:01 UTC
Statement:

This issue affects the versions of gettext as shipped with Red Hat Enterprise Linux 7.

This issue did not affect the versions of gettext as shipped with Red Hat Enterprise Linux 5 and 6.

Comment 7 errata-xmlrpc 2019-11-05 21:23:45 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 8

Via RHSA-2019:3643 https://access.redhat.com/errata/RHSA-2019:3643

Comment 8 Product Security DevOps Team 2019-11-06 00:51:25 UTC
This bug is now closed. Further updates for individual products will be reflected on the CVE page(s):

https://access.redhat.com/security/cve/cve-2018-18751

Comment 9 errata-xmlrpc 2020-03-31 19:27:10 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 7

Via RHSA-2020:1138 https://access.redhat.com/errata/RHSA-2020:1138

Comment 11 errata-xmlrpc 2020-06-10 15:55:30 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 7.7 Extended Update Support

Via RHSA-2020:2485 https://access.redhat.com/errata/RHSA-2020:2485

Comment 13 errata-xmlrpc 2020-07-07 10:20:39 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 7.6 Extended Update Support

Via RHSA-2020:2846 https://access.redhat.com/errata/RHSA-2020:2846


Note You need to log in before you can comment on or make changes to this bug.