Advisory

UBUNTU-CVE-2018-12020

Also known as: CVE-2018-12020

Summary

The record has no summary.

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.

Severity

High Basis: CVSS v3 score 7.5, vector CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N

Dates

Published
2018-06-08 00:00 UTC
Modified
2026-11-18 00:57 UTC

Affected packages and fixes

gnupg

Debian packages (deb) · Ubuntu 14.04

Affected

  • introduced 0, fixed 1.4.16-1ubuntu2.5 (ecosystem)

Fixed versions

1.4.16-1ubuntu2.5

Fix

  • Fixed version 1.4.16-1ubuntu2.5
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

gnupg2

Debian packages (deb) · Ubuntu 14.04

Affected

  • introduced 0, fixed 2.0.22-3ubuntu1.4 (ecosystem)

Fixed versions

2.0.22-3ubuntu1.4

Fix

  • Fixed version 2.0.22-3ubuntu1.4
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

gnupg

Debian packages (deb) · Ubuntu 16.04

Affected

  • introduced 0, fixed 1.4.20-1ubuntu3.2 (ecosystem)

Fixed versions

1.4.20-1ubuntu3.2

Fix

  • Fixed version 1.4.20-1ubuntu3.2
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

gnupg2

Debian packages (deb) · Ubuntu 16.04

Affected

  • introduced 0, fixed 2.1.11-6ubuntu2.1 (ecosystem)

Fixed versions

2.1.11-6ubuntu2.1

Fix

  • Fixed version 2.1.11-6ubuntu2.1
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

enigmail

Debian packages (deb) · Ubuntu 16.04

Affected

  • introduced 0 (ecosystem)

Fixed versions

None listed

Fix

No fixed version is listed.

gnupg2

Debian packages (deb) · Ubuntu 18.04

Affected

  • introduced 0, fixed 2.2.4-1ubuntu1.1 (ecosystem)

Fixed versions

2.2.4-1ubuntu1.1

Fix

  • Fixed version 2.2.4-1ubuntu1.1
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

python-gnupg

Debian packages (deb) · Ubuntu 18.04

Affected

  • introduced 0, fixed 0.4.1-1ubuntu1.18.04.1 (ecosystem)

Fixed versions

0.4.1-1ubuntu1.18.04.1

Fix

  • Fixed version 0.4.1-1ubuntu1.18.04.1
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

enigmail

Debian packages (deb) · Ubuntu 18.04

Affected

  • introduced 0 (ecosystem)

Fixed versions

None listed

Fix

No fixed version is listed.

enigmail

Debian packages (deb) · Ubuntu 20.04

Affected

  • introduced 0 (ecosystem)

Fixed versions

None listed

Fix

No fixed version is listed.

enigmail

Debian packages (deb) · Ubuntu 22.04

Affected

  • introduced 0 (ecosystem)

Fixed versions

None listed

Fix

No fixed version is listed.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: Ubuntu Security Notices · CC BY-SA 4.0

Sources & licences