USN-3675-2

Source
https://ubuntu.com/security/notices/USN-3675-2
Import Source
https://github.com/canonical/ubuntu-security-notices/blob/main/osv/usn/USN-3675-2.json
JSON Data
https://api.osv.dev/v1/vulns/USN-3675-2
Upstream
Related
Published
2018-06-15T00:43:32.334501Z
Modified
2025-10-13T04:34:39Z
Summary
gnupg2 vulnerability
Details

USN-3675-1 fixed a vulnerability in GnuPG 2 for Ubuntu 18.04 LTS and Ubuntu 17.10. This update provides the corresponding update for GnuPG 2 in Ubuntu 16.04 LTS and Ubuntu 14.04 LTS.

Original advisory details:

Marcus Brinkmann discovered that during decryption or verification, GnuPG did not properly filter out terminal sequences when reporting the original filename. An attacker could use this to specially craft a file that would cause an application parsing GnuPG output to incorrectly interpret the status of the cryptographic operation reported by GnuPG.

References

Affected packages

Ubuntu:14.04:LTS / gnupg2

Package

Name
gnupg2
Purl
pkg:deb/ubuntu/gnupg2@2.0.22-3ubuntu1.4?arch=source&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

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

Database specific

{
    "cves_map": {
        "cves": [
            {
                "severity": [
                    {
                        "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N",
                        "type": "CVSS_V3"
                    },
                    {
                        "score": "medium",
                        "type": "Ubuntu"
                    }
                ],
                "id": "CVE-2018-12020"
            }
        ],
        "ecosystem": "Ubuntu:14.04:LTS"
    }
}

Ubuntu:16.04:LTS / gnupg2

Package

Name
gnupg2
Purl
pkg:deb/ubuntu/gnupg2@2.1.11-6ubuntu2.1?arch=source&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

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

Database specific

{
    "cves_map": {
        "cves": [
            {
                "severity": [
                    {
                        "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N",
                        "type": "CVSS_V3"
                    },
                    {
                        "score": "medium",
                        "type": "Ubuntu"
                    }
                ],
                "id": "CVE-2018-12020"
            }
        ],
        "ecosystem": "Ubuntu:16.04:LTS"
    }
}