CVE-2026-12143 form-data is a library for creating readable multipart/form-data streams
Description
form-data is a library for creating readable multipart/form-data streams. In versions through 4.0.5, the `field` argument to `FormData#append` and the `filename` option are concatenated verbatim into the `Content-Disposition` header without escaping carriage return (CR), line feed (LF), or double-quote (") characters. An application that passes attacker-controlled data as a field name or filename (for example, an API gateway that turns JSON object keys into multipart field names) allows the attacker to terminate the header line and inject additional headers, or to smuggle entire additional multipart parts, into the request the application forwards to a backend. This can let the attacker add or override form fields (e.g. set `is_admin=true`) seen by the downstream parser. This is an instance of CWE-93 (CRLF injection). The fix escapes CR, LF, and `"` as `%0D`, `%0A`, and `%22` in field names and filenames, matching the serialization browsers use per the WHATWG HTML multipart/form-data encoding algorithm. Exploitation requires the consuming application to use untrusted input as a field name or filename; applications that use only fixed/trusted field names are not affected. Fixed in 2.5.6, 3.0.5, and 4.0.6.
Produits et versions touchés
| Produit | Versions touchées | Corrigé en |
|---|---|---|
| form-data 4.0 | 4.0.0 → < 4.0.6 | 4.0.6 |
| form-data 3.0 | 3.0.0 → < 3.0.5 | 3.0.5 |
| form-data 2.5 | premières → < 2.5.6 | 2.5.6 |
| Red Hat OpenShift Service Mesh 2.6 1782287580 | premières → < 1782287580 | 1782287580 |
| Red Hat OpenShift Service Mesh 3.0 1782201833 | premières → < 1782201833 | 1782201833 |
| Red Hat OpenShift Service Mesh 3.1 1782201537 | premières → < 1782201537 | 1782201537 |
| Red Hat OpenShift Service Mesh 3.2 1782201812 | premières → < 1782201812 | 1782201812 |
| Red Hat OpenShift Service Mesh 3.3 1782201466 | premières → < 1782201466 | 1782201466 |
| Cryostat 4 | Versions non publiées |
Afficher les 94 autres branches Masquer les 94 autres branches
| Produit | Versions touchées | Corrigé en |
|---|---|---|
| Migration Toolkit for Applications 8 | Versions non publiées | |
| Migration Toolkit for Containers | Versions non publiées | |
| Network Observability Operator | Versions non publiées | |
| Node HealthCheck Operator | Versions non publiées | |
| OpenShift Pipelines | Versions non publiées | |
| Red Hat 3scale API Management Platform 2 | Versions non publiées | |
| Red Hat Advanced Cluster Security 4 | Versions non publiées | |
| Red Hat AMQ Broker 7 | Versions non publiées | |
| Red Hat build of Apache Camel - HawtIO 4 | Versions non publiées | |
| Red Hat build of Apicurio Registry 3 | Versions non publiées | |
| Red Hat Data Grid 8 | Versions non publiées | |
| Red Hat Developer Hub | Versions non publiées | |
| Red Hat Enterprise Linux AI (RHEL AI) 3 | Versions non publiées | |
| Red Hat Fuse 7 | Versions non publiées | |
| Red Hat Hardened Images | Versions non publiées | |
| Red Hat JBoss Enterprise Application Platform 7 | Versions non publiées | |
| Red Hat JBoss Enterprise Application Platform 8 | Versions non publiées | |
| Red Hat JBoss Enterprise Application Platform Expansion Pack | Versions non publiées | |
| Red Hat OpenShift AI (RHOAI) | Versions non publiées | |
| Red Hat OpenShift Container Platform 4 | Versions non publiées | |
| Red Hat Openshift Data Foundation 4 | Versions non publiées | |
| Red Hat OpenShift Dev Spaces | Versions non publiées | |
| Red Hat OpenShift GitOps | Versions non publiées | |
| Red Hat OpenShift Virtualization 4 | Versions non publiées | |
| Red Hat Quay 3 | Versions non publiées | |
| Red Hat Trusted Artifact Signer | Versions non publiées | |
| Red Hat Trusted Profile Analyzer | Versions non publiées | |
| OpenShift Service Mesh 3 | Versions non publiées | |
| Red Hat build of Apache Camel for Spring Boot 4 | Versions non publiées | |
| Multicluster Engine for Kubernetes | Versions non publiées | |
| Red Hat Advanced Cluster Management for Kubernetes 2 | Versions non publiées | |
| Red Hat Ansible Automation Platform 2 | Versions non publiées | |
| Red Hat Build of Podman Desktop | Versions non publiées | |
| Red Hat Build of Podman Desktop - Tech Preview | Versions non publiées | |
| Red Hat Discovery 2 | Versions non publiées | |
| Red Hat Enterprise Linux 10 | Versions non publiées | |
| Red Hat Enterprise Linux 7 | Versions non publiées | |
| Red Hat Enterprise Linux 8 | Versions non publiées | |
| Red Hat Enterprise Linux 9 | Versions non publiées | |
| Red Hat Satellite 6 | Versions non publiées | |
| Self-service automation portal 2 | Versions non publiées | |
| Cluster Observability Operator 1.5.0 1782839494 | premières → < 1782839494 | 1782839494 |
| Red Hat Advanced Cluster Security for Kubernetes 4.10 1783357140 | premières → < 1783357140 | 1783357140 |
| Red Hat Advanced Cluster Security for Kubernetes 4.9 1783357116 | premières → < 1783357116 | 1783357116 |
| Red Hat Developer Hub 1.10 1783448184 | premières → < 1783448184 | 1783448184 |
| Red Hat OpenShift Service Mesh 3 1782201833 | premières → < 1782201833 | 1782201833 |
| Red Hat Quay 3.9 1784125838 | premières → < 1784125838 | 1784125838 |
| Red Hat Quay 3.10 1783750447 | premières → < 1783750447 | 1783750447 |
| Red Hat Quay 3.16 1783955846 | premières → < 1783955846 | 1783955846 |
| Red Hat Advanced Cluster Security 4.9 1783357116 | premières → < 1783357116 | 1783357116 |
| Red Hat Quay 3.1 1783750447 | premières → < 1783750447 | 1783750447 |
| Red Hat Data Grid 8.6.2 | Versions non publiées | |
| Red Hat Developer Hub 1.9 1784210921 | premières → < 1784210921 | 1784210921 |
| Red Hat Migration Toolkit 1.8 1783690532 | premières → < 1783690532 | 1783690532 |
| Red Hat Quay 3.12 1784353904 | premières → < 1784353904 | 1784353904 |
| Red Hat Quay 3.12 1783751865 | premières → < 1783751865 | 1783751865 |
| Red Hat Quay 3.15 1784351966 | premières → < 1784351966 | 1784351966 |
| Red Hat OpenShift Container Platform 4.21 1787590390 | premières → < 1787590390 | 1787590390 |
| Red Hat OpenShift Container Platform 4.20 1787736396 | premières → < 1787736396 | 1787736396 |
| Cryostat 4 on RHEL 9 4.2 | premières → < 4.2.0-13 | 4.2.0-13 |
| Red Hat OpenShift Dev Spaces 3.29 1784737150 | premières → < 1784737150 | 1784737150 |
| Red Hat OpenShift Container Platform 4.2 1787736396 | premières → < 1787736396 | 1787736396 |
| Red Hat Migration Toolkit for Applications 8.1 1785169013 | premières → < 1785169013 | 1785169013 |
| Red Hat OpenShift Container Platform 4.22 1786586789 | premières → < 1786586789 | 1786586789 |
| Red Hat Migration Toolkit for Containers 1.8 1783690532 | premières → < 1783690532 | 1783690532 |
| Red Hat Ansible Automation Platform 2.6 for RHEL 9 | Versions non publiées | |
| multicluster engine for Kubernetes 2.10 1787079364 | premières → < 1787079364 | 1787079364 |
| multicluster engine for Kubernetes 2.11 1787065052 | premières → < 1787065052 | 1787065052 |
| multicluster engine for Kubernetes 2.6 1787264250 | premières → < 1787264250 | 1787264250 |
| multicluster engine for Kubernetes 2.8 1787259048 | premières → < 1787259048 | 1787259048 |
| multicluster engine for Kubernetes 2.9 1787079359 | premières → < 1787079359 | 1787079359 |
| Red Hat Advanced Cluster Management for Kubernetes 2.11 1787687062 | premières → < 1787687062 | 1787687062 |
| Red Hat Advanced Cluster Management for Kubernetes 2.13 1787339249 | premières → < 1787339249 | 1787339249 |
| Red Hat Advanced Cluster Management for Kubernetes 2.14 1787339248 | premières → < 1787339248 | 1787339248 |
| Red Hat Advanced Cluster Management for Kubernetes 2.15 1787341780 | premières → < 1787341780 | 1787341780 |
| Red Hat Advanced Cluster Management for Kubernetes 2.16 1787339213 | premières → < 1787339213 | 1787339213 |
| Red Hat Ansible Automation Platform 2.1 1787047114 | premières → < 1787047114 | 1787047114 |
| Red Hat Ansible Automation Platform 2.6 1787219751 | premières → < 1787219751 | 1787219751 |
| Red Hat Ansible Automation Platform 2.7 1787218409 | premières → < 1787218409 | 1787218409 |
| Red Hat OpenShift AI 3.4 1787250617 | premières → < 1787250617 | 1787250617 |
| Red Hat Openshift Data Foundation 4.18 1786706880 | premières → < 1786706880 | 1786706880 |
| Red Hat Openshift Data Foundation 4.19 1786703143 | premières → < 1786703143 | 1786703143 |
| Red Hat Openshift Data Foundation 4.2 1786629548 | premières → < 1786629548 | 1786629548 |
| Cluster Observability Operator 1.5.2 1782839494 | premières → < 1782839494 | 1782839494 |
| Red Hat OpenShift Dev Spaces 3.30 1787762793 | premières → < 1787762793 | 1787762793 |
| Red Hat Satellite 6.19 1788260941 | premières → < 1788260941 | 1788260941 |
| Self-service automation portal 2.1 1787047114 | premières → < 1787047114 | 1787047114 |
| multicluster engine for Kubernetes 2.1 1787079364 | premières → < 1787079364 | 1787079364 |
| Red Hat Satellite 6.18 1788322243 | premières → < 1788322243 | 1788322243 |
| Red Hat OpenShift Container Platform 4.19 1788318661 | premières → < 1788318661 | 1788318661 |
| Red Hat Ansible Automation Platform 2.2 1788943531 | premières → < 1788943531 | 1788943531 |
| Red Hat Openshift Data Foundation 4.20 1786629548 | premières → < 1786629548 | 1786629548 |
| Red Hat AMQ Broker 7.13.6 | Versions non publiées | |
| Red Hat AMQ Broker 7.14.1 | Versions non publiées |
Références
- GHSA-hmw2-7cc7-3qxx github.com
- Fix commit (4.0.6) github.com
- Fix commit (3.0.5) github.com
- Fix commit (2.5.6) github.com
- npm: form-data www.npmjs.com
- CWE-93 cwe.mitre.org
- WHATWG HTML: multipart/form-data encoding algorithm html.spec.whatwg.org
Chronologie
- Publiée
- Dernière modification