← Übersicht Nicht im beobachteten Stack

Improper handling of filenames in Content-Disposition HTTP header in github.com/gin-gonic/gin

CVE-2023-29401 · DEBIAN-CVE-2023-29401 · GHSA-2c4m-59x9-fr2g · GO-2023-1737 · UBUNTU-CVE-2023-29401 · WID-SEC-W-2024-3370

Mittel · CVSS 4.3 BSI: niedrigUbuntu: lowRed Hat: Moderate Netzwerk · ohne Login · Nutzerinteraktion Kein Fix bekannt

Veröffentlicht
11.05.2023 20:59
Zuletzt geändert
26.10.2026
EPSS (30 Tage)
0.5 %
CVSS-Vektor
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N

Beschreibung

Originaltext der Quelle, nicht übersetzt.

The filename parameter of the Context.FileAttachment function is not properly sanitized. A maliciously crafted filename can cause the Content-Disposition header to be sent with an unexpected filename value or otherwise modify the Content-Disposition header. For example, a filename of "setup.bat";x=.txt" will be sent as a file named "setup.bat". If the FileAttachment function is called with names provided by an untrusted source, this may permit an attacker to cause a file to be served with a name different than provided. Maliciously crafted attachment file name can modify the Content-Disposition header.

Status beim Hersteller

Red Hat stuft seine Produktlinien ein: 12 betroffen, 3 behoben, 11 nicht betroffen.

Migration Toolkit for Applications 6 Betroffenwird nicht behoben mta/mta-admin-addon-rhel8, mta/mta-windup-addon-rhel8
OpenShift Serverless Betroffenwird nicht behoben openshift-serverless-1/openshift-serverless-1-ingress-rhel8-operator
Red Hat Advanced Cluster Management for Kubernetes 2 BetroffenFix ausstehend acm-multicluster-globalhub-agent-container
Red Hat Advanced Cluster Management for Kubernetes 2 Betroffenwird nicht behoben rhacm2/thanos-rhel7
Red Hat Advanced Cluster Security 3 Betroffenwird nicht behoben advanced-cluster-security/rhacs-main-rhel8, advanced-cluster-security/rhacs-scanner-rhel8
Red Hat OpenShift Container Platform 4 BetroffenFix ausstehend openshift4/ose-coredns-rhel9
Red Hat OpenShift Container Platform <4.14.40 Betroffen
Red Hat OpenShift Data Science (RHODS) BetroffenFix zurückgestellt rhods/odh-ml-pipelines-cache-rhel8
Red Hat OpenShift Dev Spaces BetroffenFix ausstehend devspaces/machineexec-rhel8
Red Hat OpenShift GitOps Betroffenwird nicht behoben openshift-gitops-1/argo-rollouts-rhel8, openshift-gitops-1/argocd-rhel8
Red Hat OpenShift Virtualization 4 BetroffenFix ausstehend container-native-virtualization/kubevirt-apiserver-proxy-rhel9
Red Hat Quay 3 BetroffenFix ausstehend quay/quay-operator-rhel8
Red Hat Quay 3 Betroffenwird nicht behoben quay/quay-rhel8
Red Hat Web Terminal BetroffenFix zurückgestellt web-terminal-exec-container
8Base-MTV-2.5 Behoben migration-toolkit-virtualization/mtv-controller-rhel9, migration-toolkit-virtualization/mtv-must-gather-api-rhel8 RHBA-2023:6078
8Base-RHMTC-1.7 Behoben rhmtc/openshift-migration-controller-rhel8 RHSA-2023:4293
Red Hat OpenShift Container Platform 4.14 Behoben openshift4/ose-agent-installer-api-server-rhel8, openshift4/ose-agent-installer-csr-approver-rhel8, openshift4/ose-image-customization-controller-rhel8 RHSA-2023:5006, RHSA-2024:8235, RHSA-2024:8697
Nicht betroffen (11)
8Base-MTV-2.5Nicht betroffenverwundbarer Code nicht enthaltenmigration-toolkit-virtualization/mtv-api-rhel9, migration-toolkit-virtualization/mtv-console-plugin-rhel9, migration-toolkit-virtualization/mtv-must-gather-rhel8, migration-toolkit-virtualization/mtv-openstack-populator-rhel9, migration-toolkit-virtualization/mtv-operator-bundle, migration-toolkit-virtualization/mtv-ova-provider-server-rhel9, migration-toolkit-virtualization/mtv-populator-controller-rhel9, migration-toolkit-virtualization/mtv-rhel8-operator, migration-toolkit-virtualization/mtv-rhv-populator-rhel8, migration-toolkit-virtualization/mtv-validation-rhel9, migration-toolkit-virtualization/mtv-virt-v2v-rhel9, migration-toolkit-virtualization/mtv-virt-v2v-warm-rhel8
8Base-RHMTC-1.7Nicht betroffenverwundbarer Code nicht enthaltenrhmtc/openshift-migration-hook-runner-rhel8, rhmtc/openshift-migration-legacy-rhel8-operator, rhmtc/openshift-migration-log-reader-rhel8, rhmtc/openshift-migration-must-gather-rhel8, rhmtc/openshift-migration-openvpn-rhel8, rhmtc/openshift-migration-operator-bundle, rhmtc/openshift-migration-registry-rhel8, rhmtc/openshift-migration-rhel8-operator, rhmtc/openshift-migration-rsync-transfer-rhel8, rhmtc/openshift-migration-ui-rhel8, rhmtc/openshift-migration-velero-plugin-for-aws-rhel8, rhmtc/openshift-migration-velero-plugin-for-gcp-rhel8, rhmtc/openshift-migration-velero-plugin-for-microsoft-azure-rhel8, rhmtc/openshift-migration-velero-restic-restore-helper-rhel8, rhmtc/openshift-migration-velero-rhel8, rhmtc/openshift-velero-plugin-rhel8
Custom Metric Autoscaler operator for Red Hat OpenshiftNicht betroffenverwundbarer Code nicht enthaltencustom-metrics-autoscaler/custom-metrics-autoscaler-rhel8
Logging Subsystem for Red Hat OpenShiftNicht betroffenverwundbarer Code nicht enthaltenopenshift-logging/logging-loki-rhel9, openshift-logging/lokistack-gateway-rhel8
Migration Toolkit for Applications 6Nicht betroffenverwundbarer Code nicht enthaltenmta/mta-hub-rhel8
Migration Toolkit for VirtualizationNicht betroffenverwundbarer Code nicht enthaltenmigration-toolkit-virtualization/mtv-rhel8-operator
Red Hat Advanced Cluster Management for Kubernetes 2Nicht betroffenverwundbarer Code nicht enthaltenrhacm2/acm-grafana-rhel8, rhacm2/acm-prometheus-rhel8, rhacm2/multiclusterhub-rhel8, rhacm2/rbac-query-proxy-rhel8, rhacm2/thanos-receive-controller-rhel8
Red Hat OpenShift Container Platform 4Nicht betroffenverwundbarer Code nicht enthaltenopenshift4/ose-agent-installer-node-agent-rhel8, openshift4/ose-cluster-monitoring-operator, openshift4/ose-docker-builder, openshift4/ose-grafana, openshift4/ose-nutanix-cloud-controller-manager-rhel9, openshift4/ose-prom-label-proxy, openshift4/ose-prometheus-alertmanager, openshift4/ose-prometheus-rhel9, openshift4/ose-prometheus-rhel9-operator, openshift4/ose-thanos-rhel9
Red Hat OpenShift Container Platform 4.14Nicht betroffenverwundbarer Code nicht enthaltenopenshift4/cloud-network-config-controller-rhel8, openshift4/driver-toolkit-rhel9, openshift4/egress-router-cni-rhel8, openshift4/kubevirt-csi-driver-rhel8, openshift4/network-tools-rhel8, openshift4/oc-mirror-plugin-rhel8, openshift4/openshift-route-controller-manager-rhel8, openshift4/ose-agent-installer-api-server-rhel8, openshift4/ose-agent-installer-csr-approver-rhel8, openshift4/ose-agent-installer-node-agent-rhel9, openshift4/ose-agent-installer-orchestrator-rhel8, openshift4/ose-agent-installer-utils-rhel8, openshift4/ose-agent-installer-utils-rhel9, openshift4/ose-alibaba-cloud-controller-manager-rhel8, openshift4/ose-alibaba-cloud-csi-driver-container-rhel8, openshift4/ose-alibaba-disk-csi-driver-operator-container-rhel8, openshift4/ose-alibaba-machine-controllers-rhel8, openshift4/ose-apiserver-network-proxy-rhel8, openshift4/ose-aws-cloud-controller-manager-rhel8, openshift4/ose-aws-cluster-api-controllers-rhel8, openshift4/ose-aws-ebs-csi-driver-rhel8, openshift4/ose-aws-ebs-csi-driver-rhel8-operator, openshift4/ose-aws-pod-identity-webhook-rhel8, openshift4/ose-azure-cloud-controller-manager-rhel8, openshift4/ose-azure-cloud-node-manager-rhel8 und 176 weitere
Red Hat OpenShift Container Platform Assisted Installer 1Nicht betroffenverwundbarer Code nicht enthaltenrhai-tech-preview/assisted-installer-agent-rhel8, rhai-tech-preview/assisted-installer-rhel8
Red Hat OpenStack Platform 18.0Nicht betroffenverwundbarer Code nicht enthaltenrhoso-operators/rabbitmq-cluster-rhel9-operator
Weitere betroffene Pakete (14)
CVEgithub.com/gin-gonic/gin/github.com/gin-gonic/gin1.3.1-0.20190301021747-ccb9e902956d → 1.9.1CVE-2023-29401
Debian:12golang-github-gin-gonic-ginkein Fix bekanntDEBIAN-CVE-2023-29401
Debian:13golang-github-gin-gonic-gin1.8.1-3DEBIAN-CVE-2023-29401
Debian:14golang-github-gin-gonic-gin1.8.1-3DEBIAN-CVE-2023-29401
Gogithub.com/gin-gonic/gin1.3.1-0.20190301021747-ccb9e902956d → 1.9.1GHSA-2c4m-59x9-fr2g
Gogithub.com/gin-gonic/gin1.3.1-0.20190301021747-ccb9e902956d → 1.9.1GO-2023-1737
NVDgin-gonic:gin1.3.1-0.20190301021747-ccb9e902956d → 1.9.1CVE-2023-29401
Ubuntu:18.04:LTSgolang-github-gin-gonic-ginkein Fix bekanntUBUNTU-CVE-2023-29401
Ubuntu:20.04:LTSgolang-github-gin-gonic-ginkein Fix bekanntUBUNTU-CVE-2023-29401
Ubuntu:22.04:LTSgolang-github-gin-gonic-ginkein Fix bekanntUBUNTU-CVE-2023-29401
Ubuntu:24.04:LTSgolang-github-gin-gonic-ginkein Fix bekanntUBUNTU-CVE-2023-29401
Ubuntu:25.10golang-github-gin-gonic-ginkein Fix bekanntUBUNTU-CVE-2023-29401
Ubuntu:26.04:LTSgolang-github-gin-gonic-ginkein Fix bekanntUBUNTU-CVE-2023-29401
Ubuntu:26.10golang-github-gin-gonic-ginkein Fix bekanntUBUNTU-CVE-2023-29401

Empfohlene Prüfung

  1. Feststellen, ob und in welcher Version die betroffenen Pakete in Ihren Systemen, Images und Abhängigkeiten vorkommen.
  2. Wo eine Fix-Version genannt ist: aktualisieren. Wo nicht: Hersteller-Advisory und Referenzen auf Workarounds prüfen.
  3. Erreichbarkeit beachten: Der Angriffsweg (Netzwerk · ohne Login · Nutzerinteraktion) ist aus dem CVSS-Vektor abgeleitet.

Diese Seite sagt nichts darüber, ob Ihre Systeme betroffen sind. Das klärt erst eine Prüfung Ihrer Versionen.