UBUNTU-CVE-2018-12020

Source
https://ubuntu.com/security/CVE-2018-12020
Import Source
https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2018/UBUNTU-CVE-2018-12020.json
JSON Data
https://api.osv.dev/v1/vulns/UBUNTU-CVE-2018-12020
Related
Published
2018-06-08T00:00:00Z
Modified
2024-11-11T16:46:55Z
Severity
  • 7.5 (High) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N CVSS Calculator
  • 7.5 (High) CVSS_V3 - CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N CVSS Calculator
Summary
[none]
Details

mainproc.c in GnuPG before 2.2.8 mishandles the original filename during decryption and verification actions, which allows remote attackers to spoof the output that GnuPG sends on file descriptor 2 to other programs that use the "--status-fd 2" option. For example, the OpenPGP data might represent an original filename that contains line feed characters in conjunction with GOODSIG or VALIDSIG status codes.

References

Affected packages

Ubuntu:14.04:LTS / gnupg

Package

Name
gnupg
Purl
pkg:deb/ubuntu/gnupg?arch=src?distro=trusty

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
1.4.16-1ubuntu2.5

Affected versions

1.*

1.4.14-1ubuntu2
1.4.15-1.1ubuntu1
1.4.15-1.1ubuntu2
1.4.15-2ubuntu1
1.4.16-1ubuntu1
1.4.16-1ubuntu2
1.4.16-1ubuntu2.1
1.4.16-1ubuntu2.3
1.4.16-1ubuntu2.4

Ecosystem specific

{
    "availability": "No subscription required",
    "ubuntu_priority": "medium",
    "binaries": [
        {
            "binary_version": "1.4.16-1ubuntu2.5",
            "binary_name": "gnupg"
        },
        {
            "binary_version": "1.4.16-1ubuntu2.5",
            "binary_name": "gnupg-curl"
        },
        {
            "binary_version": "1.4.16-1ubuntu2.5",
            "binary_name": "gnupg-curl-dbgsym"
        },
        {
            "binary_version": "1.4.16-1ubuntu2.5",
            "binary_name": "gnupg-dbgsym"
        },
        {
            "binary_version": "1.4.16-1ubuntu2.5",
            "binary_name": "gnupg-udeb"
        },
        {
            "binary_version": "1.4.16-1ubuntu2.5",
            "binary_name": "gnupg-udeb-dbgsym"
        },
        {
            "binary_version": "1.4.16-1ubuntu2.5",
            "binary_name": "gpgv"
        },
        {
            "binary_version": "1.4.16-1ubuntu2.5",
            "binary_name": "gpgv-dbgsym"
        },
        {
            "binary_version": "1.4.16-1ubuntu2.5",
            "binary_name": "gpgv-udeb"
        },
        {
            "binary_version": "1.4.16-1ubuntu2.5",
            "binary_name": "gpgv-udeb-dbgsym"
        }
    ]
}

Ubuntu:14.04:LTS / gnupg2

Package

Name
gnupg2
Purl
pkg:deb/ubuntu/gnupg2?arch=src?distro=trusty

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
2.0.22-3ubuntu1.4

Affected versions

2.*

2.0.20-1ubuntu3
2.0.22-1ubuntu1
2.0.22-3ubuntu1
2.0.22-3ubuntu1.1
2.0.22-3ubuntu1.3

Ecosystem specific

{
    "availability": "No subscription required",
    "ubuntu_priority": "medium",
    "binaries": [
        {
            "binary_version": "2.0.22-3ubuntu1.4",
            "binary_name": "gnupg-agent"
        },
        {
            "binary_version": "2.0.22-3ubuntu1.4",
            "binary_name": "gnupg-agent-dbgsym"
        },
        {
            "binary_version": "2.0.22-3ubuntu1.4",
            "binary_name": "gnupg2"
        },
        {
            "binary_version": "2.0.22-3ubuntu1.4",
            "binary_name": "gnupg2-dbgsym"
        },
        {
            "binary_version": "2.0.22-3ubuntu1.4",
            "binary_name": "gpgsm"
        },
        {
            "binary_version": "2.0.22-3ubuntu1.4",
            "binary_name": "gpgsm-dbgsym"
        },
        {
            "binary_version": "2.0.22-3ubuntu1.4",
            "binary_name": "gpgv2"
        },
        {
            "binary_version": "2.0.22-3ubuntu1.4",
            "binary_name": "gpgv2-dbgsym"
        },
        {
            "binary_version": "2.0.22-3ubuntu1.4",
            "binary_name": "scdaemon"
        },
        {
            "binary_version": "2.0.22-3ubuntu1.4",
            "binary_name": "scdaemon-dbgsym"
        }
    ]
}

Ubuntu:Pro:14.04:LTS / python-gnupg

Package

Name
python-gnupg
Purl
pkg:deb/ubuntu/python-gnupg?arch=src?distro=trusty/esm

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
0.3.6-1ubuntu0.1~esm1

Affected versions

0.*

0.3.5-2
0.3.6-1

Ecosystem specific

{
    "availability": "Available with Ubuntu Pro (Infra-only): https://ubuntu.com/pro",
    "ubuntu_priority": "medium",
    "binaries": [
        {
            "binary_version": "0.3.6-1ubuntu0.1~esm1",
            "binary_name": "python-gnupg"
        },
        {
            "binary_version": "0.3.6-1ubuntu0.1~esm1",
            "binary_name": "python3-gnupg"
        }
    ]
}

Ubuntu:16.04:LTS / gnupg

Package

Name
gnupg
Purl
pkg:deb/ubuntu/gnupg?arch=src?distro=xenial

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
1.4.20-1ubuntu3.2

Affected versions

1.*

1.4.18-7ubuntu1
1.4.19-6ubuntu1
1.4.20-1ubuntu1
1.4.20-1ubuntu2
1.4.20-1ubuntu3
1.4.20-1ubuntu3.1

Ecosystem specific

{
    "availability": "No subscription required",
    "ubuntu_priority": "medium",
    "binaries": [
        {
            "binary_version": "1.4.20-1ubuntu3.2",
            "binary_name": "gnupg"
        },
        {
            "binary_version": "1.4.20-1ubuntu3.2",
            "binary_name": "gnupg-curl"
        },
        {
            "binary_version": "1.4.20-1ubuntu3.2",
            "binary_name": "gnupg-curl-dbgsym"
        },
        {
            "binary_version": "1.4.20-1ubuntu3.2",
            "binary_name": "gnupg-dbg"
        },
        {
            "binary_version": "1.4.20-1ubuntu3.2",
            "binary_name": "gnupg-dbgsym"
        },
        {
            "binary_version": "1.4.20-1ubuntu3.2",
            "binary_name": "gpgv"
        },
        {
            "binary_version": "1.4.20-1ubuntu3.2",
            "binary_name": "gpgv-dbgsym"
        },
        {
            "binary_version": "1.4.20-1ubuntu3.2",
            "binary_name": "gpgv-udeb"
        },
        {
            "binary_version": "1.4.20-1ubuntu3.2",
            "binary_name": "gpgv-udeb-dbgsym"
        }
    ]
}

Ubuntu:16.04:LTS / gnupg2

Package

Name
gnupg2
Purl
pkg:deb/ubuntu/gnupg2?arch=src?distro=xenial

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
2.1.11-6ubuntu2.1

Affected versions

2.*

2.0.28-3ubuntu1
2.0.28-3ubuntu2
2.1.11-6ubuntu1
2.1.11-6ubuntu2

Ecosystem specific

{
    "availability": "No subscription required",
    "ubuntu_priority": "medium",
    "binaries": [
        {
            "binary_version": "2.1.11-6ubuntu2.1",
            "binary_name": "dirmngr"
        },
        {
            "binary_version": "2.1.11-6ubuntu2.1",
            "binary_name": "dirmngr-dbgsym"
        },
        {
            "binary_version": "2.1.11-6ubuntu2.1",
            "binary_name": "gnupg-agent"
        },
        {
            "binary_version": "2.1.11-6ubuntu2.1",
            "binary_name": "gnupg-agent-dbgsym"
        },
        {
            "binary_version": "2.1.11-6ubuntu2.1",
            "binary_name": "gnupg2"
        },
        {
            "binary_version": "2.1.11-6ubuntu2.1",
            "binary_name": "gnupg2-dbgsym"
        },
        {
            "binary_version": "2.1.11-6ubuntu2.1",
            "binary_name": "gpgsm"
        },
        {
            "binary_version": "2.1.11-6ubuntu2.1",
            "binary_name": "gpgsm-dbgsym"
        },
        {
            "binary_version": "2.1.11-6ubuntu2.1",
            "binary_name": "gpgv-udeb"
        },
        {
            "binary_version": "2.1.11-6ubuntu2.1",
            "binary_name": "gpgv-udeb-dbgsym"
        },
        {
            "binary_version": "2.1.11-6ubuntu2.1",
            "binary_name": "gpgv2"
        },
        {
            "binary_version": "2.1.11-6ubuntu2.1",
            "binary_name": "gpgv2-dbgsym"
        },
        {
            "binary_version": "2.1.11-6ubuntu2.1",
            "binary_name": "scdaemon"
        },
        {
            "binary_version": "2.1.11-6ubuntu2.1",
            "binary_name": "scdaemon-dbgsym"
        }
    ]
}

Ubuntu:Pro:16.04:LTS / enigmail

Package

Name
enigmail
Purl
pkg:deb/ubuntu/enigmail?arch=src?distro=esm-apps/xenial

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

2:1.*

2:1.8.2-0ubuntu1
2:1.8.2-4fakesync1
2:1.9.1-1
2:1.9.7-1~ubuntu0.16.04.1
2:1.9.9-0ubuntu0.16.04.1

2:2.*

2:2.0.3-0ubuntu2~16.04.1
2:2.0.6-0ubuntu1~16.04.1
2:2.0.7-0ubuntu1~16.04.1
2:2.0.8-1~ubuntu0.16.04.2
2:2.1.6+ds1-1~ubuntu0.16.04.1

Ecosystem specific

{
    "ubuntu_priority": "medium"
}

Ubuntu:Pro:16.04:LTS / python-gnupg

Package

Name
python-gnupg
Purl
pkg:deb/ubuntu/python-gnupg?arch=src?distro=esm-apps/xenial

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
0.3.8-2ubuntu0.1~esm1

Affected versions

0.*

0.3.7-2
0.3.8-1
0.3.8-2

Ecosystem specific

{
    "availability": "Available with Ubuntu Pro: https://ubuntu.com/pro",
    "ubuntu_priority": "medium",
    "binaries": [
        {
            "binary_version": "0.3.8-2ubuntu0.1~esm1",
            "binary_name": "python-gnupg"
        },
        {
            "binary_version": "0.3.8-2ubuntu0.1~esm1",
            "binary_name": "python3-gnupg"
        }
    ]
}

Ubuntu:18.04:LTS / gnupg2

Package

Name
gnupg2
Purl
pkg:deb/ubuntu/gnupg2?arch=src?distro=bionic

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
2.2.4-1ubuntu1.1

Affected versions

2.*

2.1.15-1ubuntu8
2.2.4-1ubuntu1

Ecosystem specific

{
    "availability": "No subscription required",
    "ubuntu_priority": "medium",
    "binaries": [
        {
            "binary_version": "2.2.4-1ubuntu1.1",
            "binary_name": "dirmngr"
        },
        {
            "binary_version": "2.2.4-1ubuntu1.1",
            "binary_name": "dirmngr-dbgsym"
        },
        {
            "binary_version": "2.2.4-1ubuntu1.1",
            "binary_name": "gnupg"
        },
        {
            "binary_version": "2.2.4-1ubuntu1.1",
            "binary_name": "gnupg-agent"
        },
        {
            "binary_version": "2.2.4-1ubuntu1.1",
            "binary_name": "gnupg-l10n"
        },
        {
            "binary_version": "2.2.4-1ubuntu1.1",
            "binary_name": "gnupg-utils"
        },
        {
            "binary_version": "2.2.4-1ubuntu1.1",
            "binary_name": "gnupg-utils-dbgsym"
        },
        {
            "binary_version": "2.2.4-1ubuntu1.1",
            "binary_name": "gnupg2"
        },
        {
            "binary_version": "2.2.4-1ubuntu1.1",
            "binary_name": "gpg"
        },
        {
            "binary_version": "2.2.4-1ubuntu1.1",
            "binary_name": "gpg-agent"
        },
        {
            "binary_version": "2.2.4-1ubuntu1.1",
            "binary_name": "gpg-agent-dbgsym"
        },
        {
            "binary_version": "2.2.4-1ubuntu1.1",
            "binary_name": "gpg-dbgsym"
        },
        {
            "binary_version": "2.2.4-1ubuntu1.1",
            "binary_name": "gpg-wks-client"
        },
        {
            "binary_version": "2.2.4-1ubuntu1.1",
            "binary_name": "gpg-wks-client-dbgsym"
        },
        {
            "binary_version": "2.2.4-1ubuntu1.1",
            "binary_name": "gpg-wks-server"
        },
        {
            "binary_version": "2.2.4-1ubuntu1.1",
            "binary_name": "gpg-wks-server-dbgsym"
        },
        {
            "binary_version": "2.2.4-1ubuntu1.1",
            "binary_name": "gpgconf"
        },
        {
            "binary_version": "2.2.4-1ubuntu1.1",
            "binary_name": "gpgconf-dbgsym"
        },
        {
            "binary_version": "2.2.4-1ubuntu1.1",
            "binary_name": "gpgsm"
        },
        {
            "binary_version": "2.2.4-1ubuntu1.1",
            "binary_name": "gpgsm-dbgsym"
        },
        {
            "binary_version": "2.2.4-1ubuntu1.1",
            "binary_name": "gpgv"
        },
        {
            "binary_version": "2.2.4-1ubuntu1.1",
            "binary_name": "gpgv-dbgsym"
        },
        {
            "binary_version": "2.2.4-1ubuntu1.1",
            "binary_name": "gpgv-static"
        },
        {
            "binary_version": "2.2.4-1ubuntu1.1",
            "binary_name": "gpgv-static-dbgsym"
        },
        {
            "binary_version": "2.2.4-1ubuntu1.1",
            "binary_name": "gpgv-udeb"
        },
        {
            "binary_version": "2.2.4-1ubuntu1.1",
            "binary_name": "gpgv-win32"
        },
        {
            "binary_version": "2.2.4-1ubuntu1.1",
            "binary_name": "gpgv2"
        },
        {
            "binary_version": "2.2.4-1ubuntu1.1",
            "binary_name": "scdaemon"
        },
        {
            "binary_version": "2.2.4-1ubuntu1.1",
            "binary_name": "scdaemon-dbgsym"
        }
    ]
}

Ubuntu:18.04:LTS / python-gnupg

Package

Name
python-gnupg
Purl
pkg:deb/ubuntu/python-gnupg?arch=src?distro=bionic

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
0.4.1-1ubuntu1.18.04.1

Affected versions

0.*

0.3.9-1
0.4.1-1ubuntu1

Ecosystem specific

{
    "availability": "No subscription required",
    "ubuntu_priority": "medium",
    "binaries": [
        {
            "binary_version": "0.4.1-1ubuntu1.18.04.1",
            "binary_name": "python-gnupg"
        },
        {
            "binary_version": "0.4.1-1ubuntu1.18.04.1",
            "binary_name": "python3-gnupg"
        }
    ]
}

Ubuntu:Pro:18.04:LTS / enigmail

Package

Name
enigmail
Purl
pkg:deb/ubuntu/enigmail?arch=src?distro=esm-apps/bionic

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

2:1.*

2:1.9.8.3-1
2:1.9.9-1
2:1.9.9-2

2:2.*

2:2.0.3-0ubuntu2~18.04.1
2:2.0.6-0ubuntu1~18.04.1
2:2.0.7-0ubuntu1~18.04.1
2:2.0.8-1~ubuntu0.18.04.2
2:2.1.2-0ubuntu1~18.04.2
2:2.1.6+ds1-1~ubuntu0.18.04.1
2:2.2.4-0ubuntu0.18.04.1

Ecosystem specific

{
    "ubuntu_priority": "medium"
}

Ubuntu:Pro:18.04:LTS / gnupg1

Package

Name
gnupg1
Purl
pkg:deb/ubuntu/gnupg1?arch=src?distro=esm-apps/bionic

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

1.*

1.4.22-1ubuntu1
1.4.22-3ubuntu1
1.4.22-3ubuntu2

Ecosystem specific

{
    "ubuntu_priority": "medium"
}

Ubuntu:20.04:LTS / enigmail

Package

Name
enigmail
Purl
pkg:deb/ubuntu/enigmail?arch=src?distro=focal

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

2:2.*

2:2.1.2-0ubuntu1
2:2.1.3+ds1-3
2:2.1.3+ds1-4
2:2.1.5+ds1-1
2:2.1.6+ds1-1
2:2.2.4-0ubuntu0.20.04.1

Ecosystem specific

{
    "ubuntu_priority": "medium"
}

Ubuntu:20.04:LTS / python-gnupg

Package

Name
python-gnupg
Purl
pkg:deb/ubuntu/python-gnupg?arch=src?distro=focal

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
0.4.3-1ubuntu1

Ecosystem specific

{
    "availability": "No subscription required",
    "ubuntu_priority": "medium",
    "binaries": [
        {
            "binary_version": "0.4.3-1ubuntu1",
            "binary_name": "python-gnupg"
        },
        {
            "binary_version": "0.4.3-1ubuntu1",
            "binary_name": "python3-gnupg"
        }
    ]
}

Ubuntu:22.04:LTS / enigmail

Package

Name
enigmail
Purl
pkg:deb/ubuntu/enigmail?arch=src?distro=jammy

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

2:2.*

2:2.2.4-0.3

Ecosystem specific

{
    "ubuntu_priority": "medium"
}