# CVE-2017-11468: Docker Registry has Allocation of Resources Without Limits or Throttling

> Remote attackers can cause denial of service via memory consumption in Docker Registry by exploiting the manifest endpoint.

- **Severity:** High 7.5 (`CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`)
- **Exploited in the wild:** Not known
- **Login needed:** Not needed
- **Attackable:** Over the internet
- **Victim action needed:** Not needed
- **Fix available:** Yes
- **Published:** 20 Jul 2017
- **Updated:** 5 Aug 2024
- **Also known as:** DEBIAN-CVE-2017-11468, GHSA-h62f-wm92-2cmw, GO-2021-0072, RHSA-2017:2603, SUSE-SU-2018:0865-1, UBUNTU-CVE-2017-11468, openSUSE-SU-2020:1433-1, openSUSE-SU-2024:10723-1, openSUSE-SU-2024:12135-1

## What is CVE-2017-11468?

CVE-2017-11468 is a high-severity denial of service vulnerability in Redhat Enterprise Linux Server, published on 20 Jul 2017. An attacker can exploit it over the internet without logging in, with no action from the victim.

### Official description

Docker Registry before 2.6.2 in Docker Distribution does not properly restrict the amount of content accepted from a user, which allows remote attackers to cause a denial of service (memory consumption) via the manifest endpoint.

Weakness: CWE-770 (Allocation of Resources Without Limits or Throttling)

## Which versions are affected by CVE-2017-11468?

3 open source packages ship an affected version, including github.com/docker/distribution. It affects 2 products.


| Package | Ecosystem | Affected | Fixed in |
| --- | --- | --- | --- |
| `github.com/docker/distribution` | Go | All versions | 2.7.0-rc.0 |
| `github.com/docker/distribution` | Go | All versions | 2.7.0-rc.0 |
| `github.com/docker/distribution` | Go | All versions | 2.7.0-rc.0+incompatible |
| `docker-distribution` | Red Hat:rhel_extras_other:7 | All versions | 0:2.6.2-1.git48294d9.el7 |
| `docker-distribution` | SUSE:Linux Enterprise Module for Containers 12 | All versions | 2.6.2-13.6.1 |
| `docker-distribution` | SUSE:Package Hub 15 SP2 | All versions | 2.7.1-bp152.4.3.1 |
| `distribution-registry` | openSUSE:Tumbleweed | All versions | 2.8.1-1.1 |
| `docker-distribution-registry` | openSUSE:Tumbleweed | All versions | 2.7.1-7.2 |

Products: Docker Docker Registry, Redhat Enterprise Linux Server.

## How do I fix CVE-2017-11468?

Upgrade github.com/docker/distribution to a fixed version for your release line: 2.7.0-rc.0 or 2.7.0-rc.0+incompatible.

## Is CVE-2017-11468 being exploited?

There is no known exploitation of CVE-2017-11468 in the wild and no public exploit code.

## Fix prompt for AI coding agents

```text
Check this codebase for CVE-2017-11468 and fix it if it is affected.

What it is: CVE-2017-11468 is a high-severity denial of service vulnerability in Redhat Enterprise Linux Server, published on 20 Jul 2017. An attacker can exploit it over the internet without logging in, with no action from the victim.
Exploitation: There is no known exploitation of CVE-2017-11468 in the wild and no public exploit code.

Affected packages and fixed versions:
- github.com/docker/distribution (Go): affected all versions; fixed in 2.7.0-rc.0
- github.com/docker/distribution (Go): affected all versions; fixed in 2.7.0-rc.0
- github.com/docker/distribution (Go): affected all versions; fixed in 2.7.0-rc.0+incompatible

Task:
1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.
2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.
3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.
4. Run the tests and summarise what changed and why.
5. If nothing in the project is affected, say so and change nothing.

Reference: https://insights.sbomify.com/CVE-2017-11468/ (Markdown: https://insights.sbomify.com/CVE-2017-11468/index.md)
```

## Sources

- CVE record: https://www.cve.org/CVERecord?id=CVE-2017-11468
- NVD: https://nvd.nist.gov/vuln/detail/CVE-2017-11468
- OSV: https://osv.dev/vulnerability/CVE-2017-11468

---
From sbomify Insights: https://insights.sbomify.com/CVE-2017-11468/
Summaries are generated and may contain mistakes; the official description above is the record.
