CVE-2023-29401
Public on
Last Modified:
Description
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.
Additional Information
- This content is not included.Bugzilla 2216957: golang-github-gin-gonic-gin: Gin Web Framework does not properly sanitize filename parameter of Context.FileAttachment function
- Content from cwe.mitre.org is not included.CWE-494: Download of Code Without Integrity Check
- FAQ: Frequently asked questions about CVE-2023-29401
- Offline Security Data data is available for integration with other systems. See Offline Security Data API to get started.
External References
Content from www.cve.org is not included.https://www.cve.org/CVERecord?id=CVE-2023-29401
Content from nvd.nist.gov is not included.https://nvd.nist.gov/vuln/detail/CVE-2023-29401
Affected Packages and Issued Red Hat Security Errata
| Products / Services | Components | State | Errata |
|---|---|---|---|
| Custom Metric Autoscaler operator for Red Hat Openshift | custom-metrics-autoscaler/custom-metrics-autoscaler-rhel8 | Not affected | |
| Logging Subsystem for Red Hat OpenShift | openshift-logging/logging-loki-rhel8 | Not affected | |
| Logging Subsystem for Red Hat OpenShift | openshift-logging/lokistack-gateway-rhel8 | Not affected | |
| Migration Toolkit for Applications 6 | mta/mta-hub-rhel9 | Not affected | |
| Migration Toolkit for Applications 6 | mta/mta-admin-addon-rhel8 | Will not fix | |
| Migration Toolkit for Applications 6 | mta/mta-windup-addon-rhel9 | Will not fix | |
| Migration Toolkit for Virtualization | migration-toolkit-virtualization/mtv-rhel8-operator | Not affected | |
| Migration Toolkit for Virtualization 2.5 | migration-toolkit-virtualization/mtv-controller-rhel9 | Fixed | RHBA-2023:6078 |
| Migration Toolkit for Virtualization 2.5 | migration-toolkit-virtualization/mtv-must-gather-api-rhel8 | Fixed | RHBA-2023:6078 |
| OpenShift Serverless | openshift-serverless-1/ingress-rhel8-operator | Will not fix | |
| Red Hat Advanced Cluster Management for Kubernetes 2 | acm-multicluster-globalhub-agent-container | Affected | |
| Red Hat Advanced Cluster Management for Kubernetes 2 | rhacm2/acm-grafana-rhel8 | Not affected | |
| Red Hat Advanced Cluster Management for Kubernetes 2 | rhacm2/acm-prometheus-rhel9 | Not affected | |
| Red Hat Advanced Cluster Management for Kubernetes 2 | rhacm2/multiclusterhub-rhel8 | Not affected | |
| Red Hat Advanced Cluster Management for Kubernetes 2 | rhacm2/rbac-query-proxy-rhel8 | Not affected | |
| Red Hat Advanced Cluster Management for Kubernetes 2 | thanos-receive-controller-container | Not affected | |
| Red Hat Advanced Cluster Management for Kubernetes 2 | rhacm2/thanos-rhel9 | Will not fix | |
| Red Hat Advanced Cluster Security 3 | advanced-cluster-security/rhacs-main-rhel8 | Will not fix | |
| Red Hat Advanced Cluster Security 3 | advanced-cluster-security/rhacs-scanner-rhel8 | Will not fix | |
| Red Hat Migration Toolkit for Containers 1.7 | rhmtc/openshift-migration-controller-rhel8 | Fixed | RHSA-2023:4293 |
| Red Hat OpenShift Container Platform 4 | openshift4/ose-coredns-rhel9 | Affected | |
| Red Hat OpenShift Container Platform 4 | openshift4/ose-agent-installer-node-agent-rhel9 | Not affected | |
| Red Hat OpenShift Container Platform 4 | openshift4/ose-cluster-monitoring-rhel9-operator | Not affected | |
| Red Hat OpenShift Container Platform 4 | openshift4/ose-docker-builder | Not affected | |
| Red Hat OpenShift Container Platform 4 | openshift4/ose-grafana | Not affected | |
| Red Hat OpenShift Container Platform 4 | openshift4/ose-nutanix-cloud-controller-manager-rhel9 | Not affected | |
| Red Hat OpenShift Container Platform 4 | openshift4/ose-prom-label-proxy | Not affected | |
| Red Hat OpenShift Container Platform 4 | openshift4/ose-prometheus | Not affected | |
| Red Hat OpenShift Container Platform 4 | openshift4/ose-prometheus-alertmanager | Not affected | |
| Red Hat OpenShift Container Platform 4 | openshift4/ose-prometheus-rhel9-operator | Not affected | |
| Red Hat OpenShift Container Platform 4 | openshift4/ose-thanos-rhel8 | Not affected | |
| Red Hat OpenShift Container Platform 4.14 | openshift4/ose-image-customization-controller-rhel8 | Fixed | RHSA-2023:5006 |
| Red Hat OpenShift Container Platform 4.14 | openshift4/ose-agent-installer-api-server-rhel8 | Fixed | RHSA-2024:8235 |
| Red Hat OpenShift Container Platform 4.14 | openshift4/ose-agent-installer-csr-approver-rhel8 | Fixed | RHSA-2024:8697 |
| Red Hat OpenShift Container Platform Assisted Installer 1 | rhai-tech-preview/assisted-installer-agent-rhel8 | Not affected | |
| Red Hat OpenShift Container Platform Assisted Installer 1 | rhai-tech-preview/assisted-installer-rhel8 | Not affected | |
| Red Hat OpenShift Data Science (RHODS) | rhods/odh-ml-pipelines-cache-rhel8 | Fix deferred | |
| Red Hat OpenShift Dev Spaces | devspaces/machineexec-rhel8 | Affected | |
| Red Hat OpenShift GitOps | openshift-gitops-1/argo-rollouts-rhel8 | Will not fix | |
| Red Hat OpenShift GitOps | openshift-gitops-1/argocd-rhel8 | Will not fix | |
| Red Hat OpenShift Virtualization 4 | container-native-virtualization/kubevirt-apiserver-proxy-rhel9 | Affected | |
| Red Hat OpenStack Platform 18.0 | rhoso-operators/rabbitmq-cluster-rhel9-operator | Not affected | |
| Red Hat Quay 3 | quay/quay-operator-rhel8 | Affected | |
| Red Hat Quay 3 | quay/quay-rhel8 | Will not fix | |
| Red Hat Web Terminal | web-terminal-exec-container | Fix deferred |
Common Vulnerability Scoring System (CVSS) Score Details
Important note
CVSS scores for open source components depend on vendor-specific factors (e.g. version or build chain). Therefore, Red Hat's score and impact rating can be different from NVD and other vendors. Red Hat remains the authoritative CVE Naming Authorities (CNA) source for its products and services (see Red Hat classifications ).
| CVSS v3 Score Breakdown | Red Hat | NVD |
|---|---|---|
| CVSS v3 Base Score | 4.3 | 4.3 |
| Attack Vector | Network | Network |
| Attack Complexity | Low | Low |
| Privileges Required | None | None |
| User Interaction | Required | Required |
| Scope | Unchanged | Unchanged |
| Confidentiality Impact | None | None |
| Integrity Impact | Low | Low |
| Availability Impact | None | None |
CVSS v3 Vector
Red Hat CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N
NVD CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N
Frequently Asked Questions
Why is Red Hat's CVSS v3 score or Impact different from other vendors?
For more information, see https://access.redhat.com/solutions/762393.
My product is listed as "Under investigation" or "Affected", when will Red Hat release a fix for this vulnerability?
- "Under investigation" doesn't necessarily mean that the product is affected by this vulnerability. It only means that our Analysis Team is still working on determining whether the product is affected and how it is affected.
- "Affected" means that our Analysis Team has determined that this product is affected by this vulnerability and might release a fix to address this in the near future.
What can I do if my product is listed as "Will not fix"?
Available options depend mostly on the Impact of the vulnerability and the current Life Cycle phase of your product. Overall, you have the following options:
- Upgrade to a supported product version that includes a fix for this vulnerability (recommended).
- Apply a mitigation (if one exists).
- Open a This content is not included.support case to request a prioritization of releasing a fix for this vulnerability.
What can I do if my product is listed as "Fix deferred"?
Available options depend mostly on the Impact of the vulnerability and the current Life Cycle phase of your product. Overall, you have the following options:
- Apply a mitigation (if one exists).
- Open a This content is not included.support case to request a prioritization of releasing a fix for this vulnerability.
- Red Hat Engineering focuses on addressing high-priority issues based on their complexity or limited lifecycle support. Therefore, lower-priority issues will not receive immediate fixes.
What is a mitigation?
I have a Red Hat product but it is not in the above list, is it affected?
Why is my security scanner reporting my product as vulnerable to this vulnerability even though my product version is fixed or not affected?
Not sure what something means? Check out our Security Glossary.