Upstream information

CVE-2018-12020 at MITRE

Description

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.

SUSE information

Overall state of this security issue: Resolved

This issue is currently rated as having important severity.

CVSS v2 Scores
  National Vulnerability Database
Base Score 5
Vector AV:N/AC:L/Au:N/C:N/I:P/A:N
Access Vector Network
Access Complexity Low
Authentication None
Confidentiality Impact None
Integrity Impact Partial
Availability Impact None
CVSS v3 Scores
  National Vulnerability Database SUSE
Base Score 7.5 7.3
Vector CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L
Access Vector Network Network
Access Complexity Low Low
Privileges Required None None
User Interaction None None
Scope Unchanged Unchanged
Confidentiality Impact None Low
Integrity Impact High Low
Availability Impact None Low
CVSSv3 Version 3 3

Note from the SUSE Security Team

This issue affects the GnuPG CLI in non-default configurations. While zypper/libzypp use GnuPG for repository signature verification, they are not affected: In SLE 12 and earlier, verbose output is not configured or requested via the command line. In SLE 15, libzypp uses gpgme as an interface to GnuPG.

SUSE Bugzilla entries: 1096745 [RESOLVED / FIXED], 1101134 [REOPENED]

SUSE Security Advisories:

List of released packages

Product(s) Fixed package version(s) References
Container caasp/v4.5/389-ds:1.4.3
Container caasp/v4.5/busybox:1.26.2
Container caasp/v4.5/caasp-dex:2.23.0
Container caasp/v4.5/cert-exporter:2.3.0
Container caasp/v4.5/cert-manager-cainjector:0.15.1
Container caasp/v4.5/cert-manager-controller:0.15.1
Container caasp/v4.5/cert-manager-webhook:0.15.1
Container caasp/v4.5/cilium-etcd-operator:2.0.5
Container caasp/v4.5/cilium-operator:1.7.5
Container caasp/v4.5/cilium:1.7.5
Container caasp/v4.5/configmap-reload:0.3.0
Container caasp/v4.5/coredns:1.6.7
Container caasp/v4.5/curl:7.66.0
Container caasp/v4.5/default-http-backend:0.15.0
Container caasp/v4.5/etcd:3.4.3
Container caasp/v4.5/gangway:3.1.0
Container caasp/v4.5/grafana:7.0.3
Container caasp/v4.5/helm-tiller:2.16.9
Container caasp/v4.5/istio-base:beta
Container caasp/v4.5/istio-pilot:beta
Container caasp/v4.5/istio-proxyv2:beta
Container caasp/v4.5/k8s-sidecar:0.1.75
Container caasp/v4.5/kube-apiserver:v1.18.6
Container caasp/v4.5/kube-controller-manager:v1.18.6
Container caasp/v4.5/kube-proxy:v1.18.6
Container caasp/v4.5/kube-scheduler:v1.18.6
Container caasp/v4.5/kube-state-metrics:1.9.5
Container caasp/v4.5/kubernetes-client:1.18.6
Container caasp/v4.5/kucero:1.1.1
Container caasp/v4.5/kured:1.4.3
Container caasp/v4.5/metrics-server:0.3.6
Container caasp/v4.5/prometheus-alertmanager:0.16.2
Container caasp/v4.5/prometheus-node-exporter:0.18.1
Container caasp/v4.5/prometheus-pushgateway:0.6.0
Container caasp/v4.5/prometheus-server:2.18.0
Container caasp/v4.5/reloader:0.0.58
Container caasp/v4.5/rsyslog:8.39.0
Container caasp/v4.5/skuba-tooling:0.1.0
Container caasp/v4.5/velero-plugin-for-aws:1.0.1
Container caasp/v4.5/velero-plugin-for-gcp:1.0.1
Container caasp/v4.5/velero-plugin-for-microsoft-azure:1.0.1
Container caasp/v4.5/velero-restic-restore-helper:1.3.1
Container caasp/v4.5/velero:1.3.1
Container caasp/v4/389-ds:1.4.0
Container caasp/v4/busybox:1.26.2
Container caasp/v4/caasp-dex:2.16.0
Container caasp/v4/caaspctl-tooling:beta
Container caasp/v4/cert-exporter:2.3.0
Container caasp/v4/cilium-etcd-operator:2.0.5
Container caasp/v4/cilium-init:1.5.3
Container caasp/v4/cilium-operator:1.6.6
Container caasp/v4/cilium:1.6.6
Container caasp/v4/cloud-provider-openstack:1.15.0
Container caasp/v4/configmap-reload:0.3.0
Container caasp/v4/coredns:1.6.5
Container caasp/v4/curl:7.60.0
Container caasp/v4/etcd:3.4.3
Container caasp/v4/gangway:3.1.0
Container caasp/v4/grafana:6.2.5
Container caasp/v4/helm-tiller:2.16.1
Container caasp/v4/hyperkube:v1.17.4
Container caasp/v4/k8s-sidecar:0.1.75
Container caasp/v4/kube-state-metrics:1.9.3
Container caasp/v4/kubernetes-client:1.17.4
Container caasp/v4/kured:1.3.0
Container caasp/v4/metrics-server:0.3.6
Container caasp/v4/prometheus-alertmanager:0.16.2
Container caasp/v4/prometheus-node-exporter:0.17.0
Container caasp/v4/prometheus-pushgateway:0.6.0
Container caasp/v4/prometheus-server:2.7.1
Container caasp/v4/rsyslog:8.39.0
Container caasp/v4/skuba-tooling:0.1.0
Container caasp/v4/test-update:beta
Container caasp/v4/velero-plugin-for-aws:1.0.1
Container caasp/v4/velero-plugin-for-gcp:1.0.1
Container caasp/v4/velero-plugin-for-microsoft-azure:1.0.1
Container caasp/v4/velero-restic-restore-helper:1.3.1
Container caasp/v4/velero:1.3.1
Container caasp/v5/389-ds:beta
Container caasp/v5/busybox:beta
Container caasp/v5/caasp-dex:beta
Container caasp/v5/cert-manager-cainjector:beta
Container caasp/v5/cert-manager-controller:beta
Container caasp/v5/cert-manager-webhook:beta
Container caasp/v5/cilium-etcd-operator:beta
Container caasp/v5/cilium-operator:beta
Container caasp/v5/cilium:beta
Container caasp/v5/configmap-reload:beta
Container caasp/v5/coredns:beta
Container caasp/v5/curl:beta
Container caasp/v5/default-http-backend:beta
Container caasp/v5/etcd:beta
Container caasp/v5/gangway:beta
Container caasp/v5/grafana:beta
Container caasp/v5/helm-tiller:beta
Container caasp/v5/k8s-sidecar:beta
Container caasp/v5/kube-apiserver:beta
Container caasp/v5/kube-controller-manager:beta
Container caasp/v5/kube-proxy:beta
Container caasp/v5/kube-scheduler:beta
Container caasp/v5/kube-state-metrics:beta
Container caasp/v5/kubernetes-client:beta
Container caasp/v5/kucero:beta
Container caasp/v5/kured:beta
Container caasp/v5/metrics-server:beta
Container caasp/v5/prometheus-alertmanager:beta
Container caasp/v5/prometheus-node-exporter:beta
Container caasp/v5/prometheus-pushgateway:beta
Container caasp/v5/prometheus-server:beta
Container caasp/v5/reloader:beta
Container caasp/v5/rsyslog:beta
Container caasp/v5/skuba-tooling:beta
Container caasp/v5/velero-plugin-for-aws:beta
Container caasp/v5/velero-plugin-for-gcp:beta
Container caasp/v5/velero-plugin-for-microsoft-azure:beta
Container caasp/v5/velero-restic-restore-helper:beta
Container caasp/v5/velero:beta
Container ingress-nginx-controller:0.15.0
Container suse/sle15:15.0
Container suse/sle15:15.1
Container suse/sle15:15.2
Image SLES15-EC2-CHOST-HVM-BYOS
Image SLES15-SP1-CHOST-BYOS-Ali
Image SLES15-SP1-CHOST-BYOS-Azure
Image SLES15-SP1-CHOST-BYOS-EC2
Image SLES15-SP1-CHOST-BYOS-GCE
Image SLES15-SP1-CHOST-BYOS-OpenStack
Image SLES15-SP2-CHOST-BYOS-Ali
Image SLES15-SP2-CHOST-BYOS-Azure
Image SLES15-SP2-CHOST-BYOS-EC2
Image SLES15-SP2-CHOST-BYOS-GCE
Image SLES15-SP2-CHOST-BYOS-OpenStack
Image caasp-389-ds-image
Image caasp-busybox-image
Image caasp-caasp-dex-image
Image caasp-cert-exporter-image
Image caasp-cilium-etcd-operator-image
Image caasp-cilium-image
Image caasp-cilium-init-image
Image caasp-cilium-operator-image
Image caasp-cloud-provider-openstack-image
Image caasp-configmap-reload-image
Image caasp-coredns-image
Image caasp-curl-image
Image caasp-etcd-image
Image caasp-gangway-image
Image caasp-grafana-image
Image caasp-helm-tiller-image
Image caasp-hyperkube-image
Image caasp-k8s-sidecar-image
Image caasp-kube-state-metrics-image
Image caasp-kubernetes-client-image
Image caasp-kured-image
Image caasp-metrics-server-image
Image caasp-prometheus-alertmanager-image
Image caasp-prometheus-node-exporter-image
Image caasp-prometheus-pushgateway-image
Image caasp-prometheus-server-image
Image caasp-rsyslog-image
Image caasp-test-update-image
Image caasp-velero-image
Image caasp-velero-plugin-for-aws-image
Image caasp-velero-plugin-for-gcp-image
Image caasp-velero-plugin-for-microsoft-azure-image
Image caasp-velero-restic-restore-helper-image
  • gpg2 >= 2.2.5-4.3.1
Container caasp/v4/default-http-backend:beta1
Container caasp/v4/dnsmasq-nanny:2.78
Container caasp/v4/flannel:0.9.1
Container caasp/v4/haproxy:beta1
Container caasp/v4/kubedns:beta1
Container caasp/v4/nginx-ingress-controller:beta1
Container caasp/v4/openldap:beta1
Container caasp/v4/pause:1.0.0
Container caasp/v4/pv-recycler-node:8.25
Container caasp/v4/salt-api:beta1
Container caasp/v4/salt-master:beta1
Container caasp/v4/salt-minion:beta1
Container caasp/v4/sidecar:beta1
Container caasp/v4/velum:4.0.0
Container sles12/caasp-dex:2.7.1
Container suse/sles12sp4:latest
Container suse/sles12sp5:latest
Image sles12sp3-caasp-dex-image
  • gpg2 >= 2.0.24-9.3.1
Openstack Cloud Magnum Orchestration 7
  • gpg2 >= 2.0.24-9.3.1
Patchnames:
SUSE-OpenStack-Cloud-Magnum-Orchestration-7-2018-1141
SUSE CaaS Platform ALL
  • gpg2 >= 2.0.24-9.3.1
Patchnames:
SUSE-CAASP-ALL-2018-1141
SUSE Enterprise Storage 4
  • gpg2 >= 2.0.24-9.3.1
  • gpg2-lang >= 2.0.24-9.3.1
Patchnames:
SUSE-Storage-4-2018-1141
SUSE Linux Enterprise Desktop 12 SP3
  • gpg2 >= 2.0.24-9.3.1
  • gpg2-lang >= 2.0.24-9.3.1
Patchnames:
SUSE-SLE-DESKTOP-12-SP3-2018-1141
SUSE Linux Enterprise Desktop 12 SP4
SUSE Linux Enterprise Server 12 SP4
  • gpg2 >= 2.0.24-9.3.1
  • gpg2-lang >= 2.0.24-9.3.1
SUSE Linux Enterprise High Performance Computing 12 SP5
SUSE Linux Enterprise Server 12 SP5
  • gpg2 >= 2.0.24-9.8.1
  • gpg2-lang >= 2.0.24-9.8.1
SUSE Linux Enterprise Module for Basesystem 15 SP1
  • gpg2 >= 2.2.5-4.6.2
  • gpg2-lang >= 2.2.5-4.6.2
SUSE Linux Enterprise Module for Basesystem 15
  • gpg2 >= 2.2.5-4.3.1
  • gpg2-lang >= 2.2.5-4.3.1
Patchnames:
SUSE-SLE-Module-Basesystem-15-2018-1223
SUSE Linux Enterprise Point of Sale 11 SP3
  • gpg2 >= 2.0.9-25.33.42.3.1
  • gpg2-lang >= 2.0.9-25.33.42.3.1
Patchnames:
sleposp3-gpg2-13655
SUSE Linux Enterprise Point of Sale 12 SP2-CLIENT
  • gpg2 >= 2.0.24-9.3.1
  • gpg2-lang >= 2.0.24-9.3.1
Patchnames:
SUSE-SLE-POS-12-SP2-CLIENT-2018-1141
SUSE Linux Enterprise Server 11 SP3-LTSS
SUSE Linux Enterprise Server for SAP Applications 11 SP3-LTSS
  • gpg2 >= 2.0.9-25.33.42.3.1
  • gpg2-lang >= 2.0.9-25.33.42.3.1
Patchnames:
slessp3-gpg2-13655
SUSE Linux Enterprise Server 11 SP4
SUSE Linux Enterprise Server for SAP Applications 11 SP4
  • gpg2 >= 2.0.9-25.33.42.3.1
  • gpg2-lang >= 2.0.9-25.33.42.3.1
Patchnames:
slessp4-gpg2-13655
SUSE Linux Enterprise Server 12 SP1-LTSS
SUSE Linux Enterprise Server for SAP Applications 12 SP1-LTSS
  • gpg2 >= 2.0.24-9.3.1
  • gpg2-lang >= 2.0.24-9.3.1
Patchnames:
SUSE-SLE-SERVER-12-SP1-2018-1141
SUSE Linux Enterprise Server 12 SP2-BCL
SUSE Linux Enterprise Server for SAP Applications 12 SP2-BCL
  • gpg2 >= 2.0.24-9.3.1
  • gpg2-lang >= 2.0.24-9.3.1
Patchnames:
SUSE-SLE-SERVER-12-SP2-BCL-2018-1141
SUSE Linux Enterprise Server 12 SP2-ESPOS
SUSE Linux Enterprise Server for SAP Applications 12 SP2-ESPOS
  • gpg2 >= 2.0.24-9.3.1
  • gpg2-lang >= 2.0.24-9.3.1
Patchnames:
SUSE-SLE-SERVER-12-SP2-ESPOS-2018-1141
SUSE Linux Enterprise Server 12 SP2-LTSS
SUSE Linux Enterprise Server for SAP Applications 12 SP2-LTSS
  • gpg2 >= 2.0.24-9.3.1
  • gpg2-lang >= 2.0.24-9.3.1
Patchnames:
SUSE-SLE-SERVER-12-SP2-2018-1141
SUSE Linux Enterprise Server 12 SP3
SUSE Linux Enterprise Server for SAP Applications 12 SP3
  • gpg2 >= 2.0.24-9.3.1
  • gpg2-lang >= 2.0.24-9.3.1
Patchnames:
SUSE-SLE-SERVER-12-SP3-2018-1141
SUSE Linux Enterprise Server 12-LTSS
SUSE Linux Enterprise Server for SAP Applications 12-LTSS
  • gpg2 >= 2.0.24-9.3.1
  • gpg2-lang >= 2.0.24-9.3.1
Patchnames:
SUSE-SLE-SERVER-12-2018-1141
SUSE Linux Enterprise Server for SAP Applications 12 SP1
  • gpg2 >= 2.0.24-9.3.1
  • gpg2-lang >= 2.0.24-9.3.1
Patchnames:
SUSE-SLE-SAP-12-SP1-2018-1141
SUSE Linux Enterprise Server for SAP Applications 12 SP2
  • gpg2 >= 2.0.24-9.3.1
  • gpg2-lang >= 2.0.24-9.3.1
Patchnames:
SUSE-SLE-SAP-12-SP2-2018-1141
SUSE Linux Enterprise Workstation Extension 15 SP1
  • enigmail >= 2.0.9-3.13.1
SUSE Linux Enterprise Workstation Extension 15
  • enigmail >= 2.0.7-3.7.2
Patchnames:
SUSE-SLE-Product-WE-15-2018-1514
SUSE OpenStack Cloud 7
  • gpg2 >= 2.0.24-9.3.1
  • gpg2-lang >= 2.0.24-9.3.1
Patchnames:
SUSE-OpenStack-Cloud-7-2018-1141
SUSE Package Hub for SUSE Linux Enterprise 12
  • enigmail >= 2.0.7-18.1
Patchnames:
openSUSE-2019-477
openSUSE Leap 15.0
  • enigmail >= 2.0.7-lp150.2.12.1
  • gpg2 >= 2.2.5-lp150.3.3.1
  • gpg2-debuginfo >= 2.2.5-lp150.3.3.1
  • gpg2-debugsource >= 2.2.5-lp150.3.3.1
  • gpg2-lang >= 2.2.5-lp150.3.3.1
  • python2-python-gnupg >= 0.4.3-lp150.2.3.1
  • python3-python-gnupg >= 0.4.3-lp150.2.3.1
Patchnames:
openSUSE-2019-477
openSUSE-2019-478
openSUSE-2019-480
openSUSE Leap 42.3
  • enigmail >= 2.0.7-21.1
  • gpg2 >= 2.0.24-9.3.1
  • gpg2-debuginfo >= 2.0.24-9.3.1
  • gpg2-debugsource >= 2.0.24-9.3.1
  • gpg2-lang >= 2.0.24-9.3.1
Patchnames:
openSUSE-2019-477
openSUSE-2019-480


Status of this issue by product and package

Please note that this evaluation state might be work in progress, incomplete or outdated. Also information for service packs in the LTSS phase is only included for issues meeting the LTSS criteria. If in doubt, feel free to contact us for clarification.

Product(s) Source package State
Magnum Orchestration gpg2 Released
SUSE CaaS Platform 3.0 gpg2 Released
SUSE Container as a Service Platform 2.0 gpg2 Released
SUSE Linux Enterprise 15 Module for Basesystem gpg2 Released
SUSE Linux Enterprise Desktop 12 SP3 gpg2 Released
SUSE Linux Enterprise Server 11 SP1 gpg2 Released
SUSE Linux Enterprise Server 11 SP3 gpg2 Released
SUSE Linux Enterprise Server 11 SP3 LTSS gpg2 Released
SUSE Linux Enterprise Server 11 SP4 gpg2 Released
SUSE Linux Enterprise Server 12 LTSS gpg2 Released
SUSE Linux Enterprise Server 12 SP1 LTSS gpg2 Released
SUSE Linux Enterprise Server 12 SP2 LTSS gpg2 Released
SUSE Linux Enterprise Server 12 SP3 gpg2 Released
SUSE Linux Enterprise Server for SAP Applications 12 SP2 gpg2 Released
SUSE Linux Enterprise Workstation Extension 15 enigmail Released
SUSE Linux Enterprise Workstation Extension 15 SP1 enigmail Released
SUSE Linux Enterprise Workstation Extension 15 SP2 enigmail Released