Bug 1061599 (CVE-2013-7323, CVE-2014-1927, CVE-2014-1928, CVE-2014-1929) - CVE-2013-7323 CVE-2014-1927 CVE-2014-1928 CVE-2014-1929 python-gnupg: incorrect fix against shell injection
Summary: CVE-2013-7323 CVE-2014-1927 CVE-2014-1928 CVE-2014-1929 python-gnupg: incorre...
Alias: CVE-2013-7323, CVE-2014-1927, CVE-2014-1928, CVE-2014-1929
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
Target Milestone: ---
Assignee: Red Hat Product Security
QA Contact:
Depends On: 1061600
TreeView+ depends on / blocked
Reported: 2014-02-05 07:36 UTC by Martin Prpič
Modified: 2019-09-29 13:13 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Last Closed: 2014-06-25 21:11:14 UTC

Attachments (Terms of Use)

Description Martin Prpič 2014-02-05 07:36:08 UTC
It was found [1] that the fix for improved shell quoting to guard against shell injection, released in version 0.3.5 [2] of python-gnupg, is not sufficient.

This issue has been reported upstream [3].

[1] http://seclists.org/oss-sec/2014/q1/243
[2] https://code.google.com/p/python-gnupg/
[3] https://code.google.com/p/python-gnupg/issues/detail?id=98#c4

Comment 1 Martin Prpič 2014-02-05 07:37:42 UTC
Created python-gnupg tracking bugs for this issue:

Affects: fedora-all [bug 1061600]

Comment 2 Paul Wouters 2014-02-06 04:03:45 UTC
updates pushed to updates-testing for f19,f20,el6 (and built in rawhide)

Comment 3 Murray McAllister 2014-02-10 05:50:22 UTC
This was assigned multiple CVE numbers:

  CVE-2013-7323 Unrestricted use of unquoted strings in a shell,
                within version 0.3.4

  CVE-2014-1927 Erroneous assumptions about the usability of "
                characters within version 0.3.5, leading to attacks
                such as $( command substitution within a "-quoted

  CVE-2014-1928 Erroneous insertion of a \ character within version
                0.3.5, leading to attacks involving command lists
                (such as lists separated by a ; character)

Full details: http://seclists.org/oss-sec/2014/q1/294

Comment 4 Murray McAllister 2014-02-13 07:16:24 UTC
CVE-2014-1929 was assigned to:

Second, 0.3.5 and 0.3.6 have a series of differences in handling of
command-line arguments. This seems to be most likely a reaction to
Florian Weimer's observation of "you need to make sure that you
prevent option injection through positional arguments." Does anyone
believe that option injection was impossible in 0.3.5? If not, we will
make a fourth CVE assignment.

Reference: http://seclists.org/oss-sec/2014/q1/335

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