BlackTreeIndependent security intelligence
← Back to the CVE catalogue
Full vulnerability report · 2023
CVE-2023-29401High confidence

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

github.com/gin-gonic/gin · github.com/gin-gonic/gin

4.3MediumCVSS 3.1
Recommended action
Within 7 days

Medium technical severity with public exploit material referenced by a structured source; prioritise exposed affected systems while verifying vendor guidance.

Patch available
Distribution package intelligence

Ubuntu vendor package status

Canonical’s release and source-package findings are shown separately from local repository availability.

1 package state
Repository candidate not checked

A published vendor fix does not prove that a matching update is enabled and installable on a particular asset. Confirm the local package candidate before scheduling remediation.

Ubuntu releaseSource packageVendor stateFixed versionEvidence
Ubuntu 24.04 LTSnoble · standard archivegolang-github-gin-gonic-ginUnder evaluationCanonical reports that the package might be affected and still needs evaluation or fixing.Not published in this feedCanonical record ↗Source updated 10 Sept 2026
Direct vendor intelligence

Authoritative vendor CSAF and VEX advisories

Structured product status and remediation from the issuing vendor. Product-state explanations are always visible; large lists can be searched or downloaded.

1 current
CVE-2023-29401 · CSAF 2.0 · revision 3 · finalRed Hat Product Securitygolang-github-gin-gonic-gin: Gin Web Framework does not properly sanitize filename parameter of Context.FileAttachment function
16 known affected

The vendor explicitly identifies these products as affected by this CVE.

  • mta/mta-admin-addon-rhel8 as a component of Migration Toolkit for Applications 6
  • mta/mta-windup-addon-rhel8 as a component of Migration Toolkit for Applications 6
  • openshift-serverless-1/ingress-rhel8-operator as a component of OpenShift Serverless
  • acm-multicluster-globalhub-agent-container as a component of Red Hat Advanced Cluster Management for Kubernetes 2
  • rhacm2/thanos-rhel9 as a component of Red Hat Advanced Cluster Management for Kubernetes 2
  • advanced-cluster-security/rhacs-main-rhel8 as a component of Red Hat Advanced Cluster Security 3
  • advanced-cluster-security/rhacs-scanner-rhel8 as a component of Red Hat Advanced Cluster Security 3
  • openshift4/ose-coredns-rhel9 as a component of Red Hat OpenShift Container Platform 4
  • rhods/odh-ml-pipelines-cache-rhel8 as a component of Red Hat OpenShift Data Science (RHODS)
  • devspaces/machineexec-rhel8 as a component of Red Hat OpenShift Dev Spaces
  • openshift-gitops-1/argo-rollouts-rhel8 as a component of Red Hat OpenShift GitOps
  • openshift-gitops-1/argocd-rhel8 as a component of Red Hat OpenShift GitOps
Summary
A flaw was found in the Gin-Gonic Gin Web Framework. Affected versions of this package could allow a remote attacker to bypass security restrictions caused by improper input validation by the filename parameter of the Context.FileAttachment function. An attacker can modify the Content-Disposition header by using a specially-crafted attachment file name.
Remediation
Before applying this update, make sure all previously released errata relevant to your system have been applied. For details on how to apply this update, refer to: https://access.redhat.com/articles/11258
Optional official sources

National CERT insights
?CERT means Computer Emergency Response Team; CSIRT is the closely related term Computer Security Incident Response Team.

Select the national-authority views to include. The exact source language is shown on each matched advisory. Your choice is remembered on this device and encoded in the shareable URL.

Official European source

ENISA European Vulnerability Database

Official EUVD identifiers, advisory evidence and known-exploited context. Missing fields are not treated as evidence of low risk.

1 current
ENISA EUVD identifier

EUVD-2023-1445

No EUVD known-exploited evidence

ENISA has published the identifier mapping but no EUVD description has been stored yet.

EUVD state
Present in the current official mapping
Known exploitation
Not present in the current ENISA EUVD known-exploited dataset. This is not proof of no exploitation.
ENISA score
Not supplied in the stored EUVD record
Advisory evidence
No linked advisory details stored yet
Recommended actionWithin 7 days

Medium technical severity with public exploit material referenced by a structured source; prioritise exposed affected systems while verifying vendor guidance.

Patch available
01

What, why and how

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.

What

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.

Why

The product downloads source code or an executable from a remote location and executes the code without sufficiently verifying the origin and integrity of the code.

How

An attacker operating through a network path may attempt exploitation without authentication after a user interaction. If successful, the issue may cause the confidentiality, integrity or availability impact described by the vendor.

What

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.

Why

The product downloads source code or an executable from a remote location and executes the code without sufficiently verifying the origin and integrity of the code.

How

An attacker operating through a network path may attempt exploitation without authentication after a user interaction. If successful, the issue may cause the confidentiality, integrity or availability impact described by the vendor.

02

Exploit reality and attack path

CVSS severity, EPSS forecast probability, public exploit material and CISA-confirmed exploitation are separate signals.

Observed exploitation
?Confirmed exploitation and public exploit material are separate signals. Attacks can occur without public proof-of-concept or exploit code.
No confirmed evidence

No CISA KEV match was present at the last successful refresh. This means no confirmation from that source, not proof of no exploitation.

Public PoC / exploit material
?Confirmed exploitation and public exploit material are separate signals. Attacks can occur without public proof-of-concept or exploit code.
Reference recorded

A structured CVE source labels at least one public reference as exploit material. BlackTree has not independently validated that it is safe, reliable or weaponised.

Likely attack path
a network path → Download of Code Without Integrity Check → cause the confidentiality, integrity or availability impact described by the vendor
Attack surface
Network
Privileges required
None: unauthenticated exploitation is possible
User interaction
Required interaction required
Attack complexity
Low: no specialised conditions are recorded
Security boundary
Unchanged: impact remains within the vulnerable component's security authority
Weakness
?CWE means Common Weakness Enumeration: a standard category for the underlying weakness.
CWE-494

CWE-494: Download of Code Without Integrity Check. The product downloads source code or an executable from a remote location and executes the code without sufficiently verifying the origin and integrity of the code.

CVSS vector
?CVSS means Common Vulnerability Scoring System. The vector records the metric values used to calculate technical severity.
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N

Common Vulnerability Scoring System 3.1: the compact vector below is decoded into plain language.

AVNetworkAttack vector: The vulnerable component can be reached over a network.ACLowAttack complexity: No specialised conditions are required beyond attacker-controlled input.PRNonePrivileges required: The attacker does not need an account or existing privileges.UIRequiredUser interaction: Another user must perform an action for exploitation to succeed.SUnchangedScope: The security impact remains within the vulnerable component's authority.CNoneConfidentiality impact: No direct loss is represented by this metric.ILowIntegrity impact: A successful attack can cause a limited loss.ANoneAvailability impact: No direct loss is represented by this metric.
Post-exploitation / living off the land
No specific living-off-the-land technique is confirmed in the structured sources. Monitor normal administration tools for activity inconsistent with the affected service's baseline.
NetworkUnauthenticatedCWE-494Public exploit reference
A

Official authority intelligence

Only matched European and national findings are included. Language selectors and unavailable sources are omitted.

BSI · German · WID-SEC-W-2024-3370Red Hat OpenShift: Schwachstelle ermöglicht Umgehen von Sicherheitsvorkehrungen

Ein entfernter, anonymer Angreifer kann eine Schwachstelle in Red Hat OpenShift ausnutzen, um Sicherheitsvorkehrungen zu umgehen.

Official advisory
CERT-FR · French · CERTFR-2024-AVI-0878Multiples vulnérabilités dans les produits Splunk

d?id=CVE-2020-36226 Référence CVE CVE-2020-36227 https://www.cve.org/CVERecord?id=CVE-2020-36227 Référence CVE CVE-2020-36228 https://www.cve.org/CVERecord?id=CVE-2020-36228 Référence CVE CVE-2020-36229 https://www.cve.org/CVERecord?id=CVE-2020-36229 Référence CVE CVE-2020-36230 https://www.cve.org/CVERecord?id=CVE-2020-36230 Référence CVE CVE-2021-27212 https://www.cve.org/CVERecord?id=CVE-2021-27212 Référence CVE CVE-2022-29155 https://www.cve.org/CVERecord?id=CVE-2022-29155 Référence CVE CVE-2022-42969 https://www.cve.org/CVERecord?id=CVE-2022-42969 Référence CVE CVE-2023-26125 https://www.cve.org/CVERecord?id=CVE-2023-26125 Référence CVE CVE-2023-29401 https://www.cve.org/CVERecord?id=CVE-2023-29401 Référence CVE CVE-2023-2953 https://www.cve.org/CVERecord?id=CVE-2023-2953 Référence CVE CVE-2023-39318 https://www.cve.org/CVERecord?id=CVE-2023-39318 Référence CVE CVE-2023-39319 https://www.cve.org/CVERecord?id=CVE-2023-39319 Référence CVE CVE-2023-39320 https://www.cve.org/CVERecord?id=CVE-2023-39320 Référence CVE CVE-2023-39321 https://www.cve.org/CVERecord?id=CVE-2023-39321 Référence CVE CVE-2023-39322 https://www.cve.org/CVERecord?id=CVE-2023-39322 Référence CVE CVE-2023-39323 https://www.cve.org/CVERecord?id=CVE-2023-39323 Référence CVE CVE-2023-39325 https://www.cve.org/CVERecord?id=CV

Official advisory
03

Patch and workaround

Operational remediation based on structured source evidence.

Status
?Patch availability is based on structured fixed-version fields and authoritative update references. If no fix is verified, check the vendor advisory before making a change.
Patch available
Affected
mta/mta-admin-addon-rhel8 as a component of Migration Toolkit for Applications 6; mta/mta-windup-addon-rhel8 as a component of Migration Toolkit for Applications 6; openshift-serverless-1/ingress-rhel8-operator as a component of OpenShift Serverless; acm-multicluster-globalhub-agent-container as a component of Red Hat Advanced Cluster Management for Kubernetes 2; rhacm2/thanos-rhel9 as a component of Red Hat Advanced Cluster Management for Kubernetes 2; advanced-cluster-security/rhacs-main-rhel8 as a component of Red Hat Advanced Cluster Security 3; advanced-cluster-security/rhacs-scanner-rhel8 as a component of Red Hat Advanced Cluster Security 3; openshift4/ose-coredns-rhel9 as a component of Red Hat OpenShift Container Platform 4; rhods/odh-ml-pipelines-cache-rhel8 as a component of Red Hat OpenShift Data Science (RHODS); devspaces/machineexec-rhel8 as a component of Red Hat OpenShift Dev Spaces; openshift-gitops-1/argo-rollouts-rhel8 as a component of Red Hat OpenShift GitOps; openshift-gitops-1/argocd-rhel8 as a component of Red Hat OpenShift GitOps; container-native-virtualization/kubevirt-apiserver-proxy-rhel9 as a component of Red Hat OpenShift Virtualization 4; quay/quay-operator-rhel8 as a component of Red Hat Quay 3; quay/quay-rhel8 as a component of Red Hat Quay 3; web-terminal-exec-container as a component of Red Hat Web Terminal
Fixed
migration-toolkit-virtualization/mtv-must-gather-api-rhel8@sha256:e1e3b4adafebe14f5c1c17b8b81c921c8c2daf77bf22ffef9f0a2e1ac1a32d5f_amd64 as a component of 8Base-MTV-2.5; rhmtc/openshift-migration-controller-rhel8@sha256:4acee31f69a7073ff74e57a7951a0a6e82d97599fce50ac4efe085fd213910af_amd64 as a component of 8Base-RHMTC-1.7; openshift4/ose-agent-installer-api-server-rhel8@sha256:053ed98b61ba3f96ae313b54331a63a15c127d5a78ca1633504891004ceb6ab9_ppc64le as a component of Red Hat OpenShift Container Platform 4.14; openshift4/ose-agent-installer-api-server-rhel8@sha256:68ed10478ec7fdd3897eb7ad1deb322300ce67fa838bc51986137216d83271de_amd64 as a component of Red Hat OpenShift Container Platform 4.14; openshift4/ose-agent-installer-api-server-rhel8@sha256:88af60d2187cba1549e9a42dab6f98e8cb331a318708efa159c9fcc1cbb2ab11_arm64 as a component of Red Hat OpenShift Container Platform 4.14; openshift4/ose-agent-installer-api-server-rhel8@sha256:c72f01a0ac49e2ad041c6c92a0f57a6a7e71069fe965c296bddca7a613d192dd_s390x as a component of Red Hat OpenShift Container Platform 4.14; openshift4/ose-agent-installer-csr-approver-rhel8@sha256:020ac79e70c32ee994706c52fb660fb86b5285cabd54978bb96da0da4086edc7_arm64 as a component of Red Hat OpenShift Container Platform 4.14; openshift4/ose-agent-installer-csr-approver-rhel8@sha256:2e87348fc8c6d178e2cc5d43a641f851e29007618849265adab1afbd8932f796_amd64 as a component of Red Hat OpenShift Container Platform 4.14; openshift4/ose-agent-installer-csr-approver-rhel8@sha256:5898223b158d4bdb0e2181e0aeeb008afd2d9b88b19c10baf6494254ae8a3dbd_s390x as a component of Red Hat OpenShift Container Platform 4.14; openshift4/ose-agent-installer-csr-approver-rhel8@sha256:d491d70967c6bb63e8c80688f9a54e0b142cd38949b3516075c0093ac0d32fe5_ppc64le as a component of Red Hat OpenShift Container Platform 4.14; openshift4/ose-image-customization-controller-rhel8@sha256:008349a3c6f2b5eaa14e7759defb41940e6c29a7b4144b40bdacef910c32500b_amd64 as a component of Red Hat OpenShift Container Platform 4.14; openshift4/ose-image-customization-controller-rhel8@sha256:bb79f24239ad67297fdf796566218125025a9dc08d827e693650f87025cb10a0_arm64 as a component of Red Hat OpenShift Container Platform 4.14; migration-toolkit-virtualization/mtv-controller-rhel9@sha256:8fbc5262ebc5791a156ecc4afa539bb6d72bfe3ecf28e7ebaab12aab63e472e3_amd64 as a component of 8Base-MTV-2.5
Action
Before applying this update, make sure all previously released errata relevant to your system have been applied. For details on how to apply this update, refer to: https://access.redhat.com/articles/11258
Workaround
No verified workaround is recorded. If business-safe, reduce exposure to the affected interface and allow only trusted sources until authoritative guidance is available.
04

Evidence and provenance

Published 8 Jun 2023 · Last source change 6 Jan 2025, 19:30 UTC · CWE-494 · Download of Code Without Integrity Check

CVE recordCVE.org · 5.1
CVSS sourceNIST NVD
EPSS source
?The date BlackTree first stored a score for this CVE from the daily FIRST EPSS feed.
FIRST · tracked since 2026-08-14
European sourceENISA EUVD · EUVD-2023-1445
Product sourceVendor CSAF · Red Hat Product Security
Remediation sourceVendor CSAF · Red Hat Product Security
CWE sourceNIST NVD
NVD statusNVD modified after enrichment

Core structured fields are present and their contributing authorities are shown above.

Material change intelligence

What changed after publication

View recent updates →

No material field changes have been recorded since change tracking began. Routine source refreshes and cosmetic edits are intentionally excluded.

Material fields only · duplicate refreshes suppressed · history retained for the configured operational retention period
Technical terms and abbreviations used in this report
CVE
Common Vulnerabilities and Exposures: the public identifier for one disclosed vulnerability.
CVSS
Common Vulnerability Scoring System: a technical severity framework; it is not patching priority by itself.
EPSS
Exploit Prediction Scoring System: FIRST's estimate of the probability that exploitation activity will be observed in the next 30 days; it is a forecast, not confirmation.
CWE
Common Weakness Enumeration: the standard category describing the underlying software or hardware weakness.
CNA
CVE Numbering Authority: an organisation authorised to assign and publish CVE records.
CISA ADP
Cybersecurity and Infrastructure Security Agency Authorized Data Publisher: structured enrichment added to a CVE record.
NVD
National Vulnerability Database: NIST's enrichment service for CVE records.
CERT / CSIRT
A computer security incident response team that publishes warnings or coordinates incident response.
PoC
Proof of concept: public material that demonstrates or helps reproduce exploitation.
CSAF
Common Security Advisory Framework: a machine-readable format for security advisories.
LoTL
Living off the land: abuse of legitimate tools or system functions during an attack.
Free version - for non-commercial use only.CVE-2023-29401 · cve.blacktree.nl