Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 711338 (CVE-2019-11360) - <net-firewall/iptables-1.8.3: Buffer overflow (CVE-2019-11360)
Summary: <net-firewall/iptables-1.8.3: Buffer overflow (CVE-2019-11360)
Status: RESOLVED FIXED
Alias: CVE-2019-11360
Product: Gentoo Security
Classification: Unclassified
Component: Vulnerabilities (show other bugs)
Hardware: All Linux
: Normal trivial (vote)
Assignee: Gentoo Security
URL: https://git.netfilter.org/iptables/co...
Whiteboard: ~2 [noglsa]
Keywords:
Depends on:
Blocks:
 
Reported: 2020-03-02 17:34 UTC by Sam James
Modified: 2020-03-02 18:26 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Sam James archtester Gentoo Infrastructure gentoo-dev Security 2020-03-02 17:34:31 UTC
Description:
"A buffer overflow in iptables-restore in netfilter iptables 1.8.2 allows an attacker to (at least) crash the program or potentially gain code execution via a specially crafted iptables-save file. This is related to add_param_to_argv in xshared.c."

Unclear if this affects previous series, but it is possible.
Comment 1 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2020-03-02 17:40:14 UTC
(In reply to sam_c (Security Padawan) from comment #0)
> Unclear if this affects previous series, but it is possible.


Patch (as in URL): https://git.netfilter.org/iptables/commit/iptables/xshared.c?id=2ae1099a42e6a0f06de305ca13a842ac83d4683e

I examined the tree [0] for e.g. 1.6.1 (current stable) and it's not there. The consolidation occurred in this [1] commit (2018-08-04) which landed in 1.8.0. So seems to just be 1.8.0

[0] https://git.netfilter.org/iptables/tree/?h=v1.6.1&id=7df66f1c13563cfbab75246b009ce36f69ee4487

[1] https://git.netfilter.org/iptables/commit/iptables/xshared.c?id=a2ed880a19d0861342b3515721804b18d698bf44
Comment 2 Larry the Git Cow gentoo-dev 2020-03-02 18:25:24 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1a24e71a8548da66f9958afeae8478d0ef67e167

commit 1a24e71a8548da66f9958afeae8478d0ef67e167
Author:     Thomas Deutschmann <whissi@gentoo.org>
AuthorDate: 2020-03-02 18:24:11 +0000
Commit:     Thomas Deutschmann <whissi@gentoo.org>
CommitDate: 2020-03-02 18:24:21 +0000

    net-firewall/iptables: security cleanup
    
    Bug: https://bugs.gentoo.org/711338
    Package-Manager: Portage-2.3.90, Repoman-2.3.20
    Signed-off-by: Thomas Deutschmann <whissi@gentoo.org>

 net-firewall/iptables/Manifest                 |   1 -
 net-firewall/iptables/iptables-1.8.2-r2.ebuild | 130 -------------------------
 2 files changed, 131 deletions(-)
Comment 3 Thomas Deutschmann (RETIRED) gentoo-dev 2020-03-02 18:26:29 UTC
Repository is clean, all done.