CVE Catalog

CVE-2017-1000098

High
Published: Translated: NVD NIST

Summary

The Request.ParseMultipartForm method of the net/http package starts writing to temporary files once the request body size exceeds the specified 'maxMemory' limit. An attacker could craft a multipart request such that the server would run out of file descriptors.

Risk Assessment

Exhausting file descriptors can lead to denial of service, impacting application availability. The organization may experience service outages and potential data loss.

Recommendation

It is recommended to monitor and limit the size of multipart requests and adjust 'maxMemory' limits to prevent resource exhaustion. Implementing denial-of-service protection mechanisms is also advisable.

Related vulnerabilities

Original NVD description (English source)

The net/http package's Request.ParseMultipartForm method starts writing to temporary files once the request body size surpasses the given "maxMemory" limit. It was possible for an attacker to generate a multipart request crafted such that the server ran out of file descriptors.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS