UBUNTU-CVE-2023-2253

Source
https://ubuntu.com/security/CVE-2023-2253
Import Source
https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2023/UBUNTU-CVE-2023-2253.json
JSON Data
https://api.osv.dev/v1/vulns/UBUNTU-CVE-2023-2253
Related
Published
2023-06-06T20:15:00Z
Modified
2023-06-06T20:15:00Z
Severity
  • 6.5 (Medium) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H CVSS Calculator
Summary
[none]
Details

A flaw was found in the /v2/_catalog endpoint in distribution/distribution, which accepts a parameter to control the maximum number of records returned (query string: n). This vulnerability allows a malicious user to submit an unreasonably large value for n, causing the allocation of a massive string array, possibly causing a denial of service through excessive use of memory.

References

Affected packages

Ubuntu:Pro:16.04:LTS / docker-registry

Package

Name
docker-registry
Purl
pkg:deb/ubuntu/docker-registry?arch=src?distro=esm-apps/xenial

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
2.3.0~ds1-1ubuntu0.1~esm1

Affected versions

2.*

2.1.1~ds1-4
2.1.1~ds1-4ubuntu1
2.3.0~ds1-1

Ecosystem specific

{
    "availability": "Available with Ubuntu Pro: https://ubuntu.com/pro",
    "ubuntu_priority": "medium",
    "binaries": [
        {
            "binary_version": "2.3.0~ds1-1ubuntu0.1~esm1",
            "binary_name": "docker-registry"
        },
        {
            "binary_version": "2.3.0~ds1-1ubuntu0.1~esm1",
            "binary_name": "docker-registry-dbgsym"
        },
        {
            "binary_version": "2.3.0~ds1-1ubuntu0.1~esm1",
            "binary_name": "golang-github-docker-distribution-dev"
        }
    ]
}

Ubuntu:Pro:18.04:LTS / docker-registry

Package

Name
docker-registry
Purl
pkg:deb/ubuntu/docker-registry?arch=src?distro=esm-apps/bionic

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
2.6.2~ds1-1ubuntu0.1~esm1

Affected versions

2.*

2.6.2~ds1-1

Ecosystem specific

{
    "availability": "Available with Ubuntu Pro: https://ubuntu.com/pro",
    "ubuntu_priority": "medium",
    "binaries": [
        {
            "binary_version": "2.6.2~ds1-1ubuntu0.1~esm1",
            "binary_name": "docker-registry"
        },
        {
            "binary_version": "2.6.2~ds1-1ubuntu0.1~esm1",
            "binary_name": "docker-registry-dbgsym"
        },
        {
            "binary_version": "2.6.2~ds1-1ubuntu0.1~esm1",
            "binary_name": "golang-github-docker-distribution-dev"
        }
    ]
}

Ubuntu:20.04:LTS / docker-registry

Package

Name
docker-registry
Purl
pkg:deb/ubuntu/docker-registry?arch=src?distro=focal

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
2.7.1+ds2-7ubuntu0.3

Affected versions

2.*

2.6.2~ds1-2
2.7.1~ds1-2
2.7.1~ds1-3
2.7.1~ds1-4
2.7.1+ds2-5
2.7.1+ds2-7
2.7.1+ds2-7ubuntu0.1
2.7.1+ds2-7ubuntu0.2

Ecosystem specific

{
    "availability": "No subscription required",
    "ubuntu_priority": "medium",
    "binaries": [
        {
            "binary_version": "2.7.1+ds2-7ubuntu0.3",
            "binary_name": "docker-registry"
        },
        {
            "binary_version": "2.7.1+ds2-7ubuntu0.3",
            "binary_name": "docker-registry-dbgsym"
        },
        {
            "binary_version": "2.7.1+ds2-7ubuntu0.3",
            "binary_name": "golang-github-docker-distribution-dev"
        }
    ]
}

Ubuntu:22.04:LTS / docker-registry

Package

Name
docker-registry
Purl
pkg:deb/ubuntu/docker-registry?arch=src?distro=jammy

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

2.*

2.7.1+ds2-7build2
2.8.0+ds1-4

Ecosystem specific

{
    "ubuntu_priority": "medium"
}

Ubuntu:Pro:22.04:LTS / docker-registry

Package

Name
docker-registry
Purl
pkg:deb/ubuntu/docker-registry?arch=src?distro=esm-apps/jammy

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
2.8.0+ds1-4ubuntu0.1~esm2

Affected versions

2.*

2.7.1+ds2-7build2
2.8.0+ds1-4
2.8.0+ds1-4ubuntu0.1~esm1

Ecosystem specific

{
    "availability": "Available with Ubuntu Pro: https://ubuntu.com/pro",
    "ubuntu_priority": "medium",
    "binaries": [
        {
            "binary_version": "2.8.0+ds1-4ubuntu0.1~esm2",
            "binary_name": "docker-registry"
        },
        {
            "binary_version": "2.8.0+ds1-4ubuntu0.1~esm2",
            "binary_name": "docker-registry-dbgsym"
        },
        {
            "binary_version": "2.8.0+ds1-4ubuntu0.1~esm2",
            "binary_name": "golang-github-docker-distribution-dev"
        }
    ]
}