Skip to content
OpenAdvisories
Unscored CVE-2017-1000098 EUVD-2017-1402GHSA-fw93-hqg3-9vw4GO-2021-0172

Denial of service when parsing large forms in mime/multipart

Published Oct 4, 2017 · Updated Sep 16, 2024 · Assigned by mitre

Description

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.

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 7 golang 2:1.0.2-1.1+deb7u1 DLA-1123-1
ReleasePackageFixed inAdvisory
Ubuntu 16.04 LTS golang-1.6 No fix yet —
ReleasePackageFixed inAdvisory
RHEL 7 golang +5 1.8.3-1.el7 RHSA-2017:1859

Azure Linux

ReleasePackageFixed inAdvisory
Azure Linux 3 golang No fix yet —

Affected packages

EcosystemPackageAffectedFixedRecord
Go stdlib < 1.6.4 · >= 1.7.0-0, < 1.7.4 1.6.4, 1.7.4 GO-2021-0172

Advisories 2

References