CVE-2022-41725
No exploitation reported by the sources we read.
- Published2023-02-28
- Fixed in1.20.1 · 1.19.6
- WeaknessCWE-770
Am I affected?
Debian, Ubuntu or Red Hat sometimes backport a fix without changing the upstream version number: such a version reads « to verify », never « affected ».With a domain, we read the version its public headers and pages expose. A distribution build can carry the fix under an older number.
Description
A denial of service is possible from excessive resource consumption in net/http and mime/multipart. Multipart form parsing with mime/multipart.Reader.ReadForm can consume largely unlimited amounts of memory and disk files. This also affects form parsing in the net/http package with the Request methods FormFile, FormValue, ParseMultipartForm, and PostFormValue. ReadForm takes a maxMemory parameter, and is documented as storing "up to maxMemory bytes +10MB (reserved for non-file parts) in memory". File parts which cannot be stored in memory are stored on disk in temporary files. The unconfigurable 10MB reserved for non-file parts is excessively large and can potentially open a denial of service vector on its own. However, ReadForm did not properly account for all memory consumed by a parsed form, such as map entry overhead, part names, and MIME headers, permitting a maliciously crafted form to consume well over 10MB. In addition, ReadForm contained no limit on the number of disk files created, permitting a relatively small request body to create a large number of disk temporary files. With fix, ReadForm now properly accounts for various forms of memory overhead, and should now stay within its documented limit of 10MB + maxMemory bytes of memory consumption. Users should still be aware that this limit is high and may still be hazardous. In addition, ReadForm now creates at most one on-disk temporary file, combining multiple form parts into a single temporary file. The mime/multipart.File interface type's documentation states, "If stored on disk, the File's underlying concrete type will be an *os.File.". This is no longer the case when a form contains more than one file part, due to this coalescing of parts into a single file. The previous behavior of using distinct files for each form part may be reenabled with the environment variable GODEBUG=multipartfiles=distinct. Users should be aware that multipart.ReadForm and the http.Request methods that call it do not limit the amount of disk consumed by temporary files. Callers can limit the size of form data with http.MaxBytesReader.
Timeline
dates in UTC- 2023-02-2818:15CVE publishedNVD
Observed activity
isMalicious corpus · updated 2026-10-23 21:37 UTCBlock these indicators
- Firewall list (EDL, text): https://api.ismalicious.com/edl/cve/CVE-2022-41725?format=txt
- CSV export: https://api.ismalicious.com/edl/cve/CVE-2022-41725?format=csv
- TAXII collection of exploited CVEs
- The EDL and CSV take an API key on the Pro plan.
Versions per branch
OSV · NVD| Branch | Affected | Fixed in | Source |
|---|---|---|---|
| 1.20 | ≥ 1.20.0, < 1.20.1 | 1.20.1 | OSV |
| 1.20 | ≥ 1.20.0-0, < 1.20.1 | 1.20.1 | OSV |
| 1.19 | < 1.19.6 | 1.19.6 | NVD · OSV |
| 1.20 | = 1.20.0 | no fix published | NVD |
as publishedRanges as NVD and OSV publish them; a distribution’s build can be fixed under an older number.
Distribution builds and vendor advisories
Packages from OSV.dev and products from the vendors' CSAF advisories.
version not verifiedVersions not verified: read as OSV.dev and the vendors publish them, not checked against each vendor's release list.
Packages
- aardvark-dnsAlmaLinux:8all versions · fixed in 2:1.7.0-1.module_el8.9.0+3657+d86e192f
- buildahAlmaLinux:9all versions · fixed in 1:1.31.3-1.el9and 1 other package
- buildahAlmaLinux:8all versions · fixed in 1:1.24.6-7.module_el8.9.0+3627+db8ec155and 1 other package
- buildahAlmaLinux:8all versions · fixed in 1:1.31.3-1.module_el8.9.0+3643+9234dc3band 1 other package
- cockpit-podmanAlmaLinux:8all versions · fixed in 46-1.module_el8.7.0+3344+5bcd850f
- cockpit-podmanAlmaLinux:8all versions · fixed in 75-1.module_el8.9.0+3643+9234dc3b
- conmonAlmaLinux:8all versions · fixed in 2:2.1.4-2.module_el8.9.0+3627+db8ec155
- conmonAlmaLinux:8all versions · fixed in 3:2.1.8-1.module_el8.9.0+3643+9234dc3b
40 more package ranges on OSV.dev
Vendor advisories
Red Hat Security Advisory: AMQ Broker 7.12.0.OPR.1.GA Container Images release and security update
Red Hat Security Advisory: OpenShift Virtualization 4.14.1 RPMs security and bug fix update
Red Hat Security Advisory: container-tools:rhel8 security and bug fix update
Red Hat Security Advisory: container-tools:4.0 security and bug fix update
Red Hat Security Advisory: OpenShift Virtualization 4.14.0 Images security and bug fix update
Red Hat Security Advisory: toolbox security and bug fix update
25 more advisories
Fix
- Update Go to 1.20.1 · 1.19.6
- Vendor fix Red Hat Product Security RHSA-2024:2944 · 5 productsTo update to the latest image please refer to the AMQ container images in the Red Hat Container catalog.
- Vendor fix Red Hat Product Security RHSA-2023:7672 · 3 productsFor details on how to apply this update, which includes the changes described in this advisory, refer to: https://access.redhat.com/articles/11258
- Vendor fix Red Hat Product Security RHBA-2023:6109 · 1 productBefore 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
- Vendor fix Red Hat Product Security RHSA-2023:5935 · 4 productsBefore 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
- Vendor fix Red Hat Product Security RHSA-2023:3612 · 144 productsFor OpenShift Container Platform 4.13 see the following documentation, which will be updated shortly for this release, for important instructions on how to upgrade your cluster and fully apply this asynchronous errata update: https://docs.openshift.com/container-platform/4.13/release_notes/ocp-4-1…
- Vendor fix Red Hat Product Security RHSA-2023:3742 · 7 productsThese updated images include numerous enhancements and bug fixes. Space precludes documenting all of these changes in this advisory. Users are directed to the Red Hat OpenShift Data Foundation Release Notes for information on the most significant of these changes: https://access.redhat.com/documen…
Advisories and patches
- go.devPatch · Release Notes
- go.devPatch · Vendor Advisory
- groups.google.comVendor Advisory
- pkg.go.devVendor Advisory
Detection
- Nuclei template
- none so far ProjectDiscovery
- Exploit-DB
- no entry Exploit-DB
- Proof-of-concept repositories
- none listed PoC-in-GitHub
Sources
Technical details
- CVSS v3 Vector
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- Published
- 2023-02-28
- Last Modified
- 2026-06-17
- NVD status
- Modified
Frequently asked questions
What is CVE-2022-41725?
Is CVE-2022-41725 actively exploited?
What is the CVSS score for CVE-2022-41725?
Running OpenShift Container Platform? Hear about its next vulnerability
Surveillance reads the versions in your stack — a domain, a lockfile or a list — checks each CVE against the ranges its sources publish, and alerts you when one you run is exploited or enters CISA KEV. A version it cannot read stays « version not verified ».
No credit card required · No monthly cap on website lookups · 250 API requests/month
Go further
- Following what attackers exploit right now? The CISA KEV additions of the month, with their patch deadlines.
- Running this software? Vulnerability monitoring alerts you to new vulnerabilities in your products.
Related vulnerabilities
Same product first, then the same vendor advisory and the same publication week.