Debian DLA-3473-1 : docker-registry - LTS security update

medium Nessus Plugin ID 177791

Synopsis

The remote Debian host is missing a security-related update.

Description

The remote Debian 10 host has packages installed that are affected by a vulnerability as referenced in the dla-3473 advisory.

- 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. (CVE-2023-2253)

Note that Nessus has not tested for this issue but has instead relied only on the application's self-reported version number.

Solution

Upgrade the docker-registry packages.

For Debian 10 buster, this problem has been fixed in version 2.6.2~ds1-2+deb10u1.

See Also

https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1035956

http://www.nessus.org/u?993200ef

https://www.debian.org/lts/security/2023/dla-3473

https://security-tracker.debian.org/tracker/CVE-2023-2253

https://packages.debian.org/source/buster/docker-registry

Plugin Details

Severity: Medium

ID: 177791

File Name: debian_DLA-3473.nasl

Version: 1.0

Type: local

Agent: unix

Published: 6/29/2023

Updated: 6/29/2023

Supported Sensors: Agentless Assessment, Continuous Assessment, Frictionless Assessment Agent, Nessus Agent, Nessus

Risk Information

VPR

Risk Factor: Low

Score: 3.6

CVSS v2

Risk Factor: Medium

Base Score: 6.8

Temporal Score: 5

Vector: CVSS2#AV:N/AC:L/Au:S/C:N/I:N/A:C

CVSS Score Source: CVE-2023-2253

CVSS v3

Risk Factor: Medium

Base Score: 6.5

Temporal Score: 5.7

Vector: CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

Temporal Vector: CVSS:3.0/E:U/RL:O/RC:C

Vulnerability Information

CPE: cpe:/o:debian:debian_linux:10.0, p-cpe:/a:debian:debian_linux:golang-github-docker-distribution-dev, p-cpe:/a:debian:debian_linux:docker-registry

Required KB Items: Host/local_checks_enabled, Host/Debian/release, Host/Debian/dpkg-l

Exploit Ease: No known exploits are available

Patch Publication Date: 6/29/2023

Vulnerability Publication Date: 5/9/2023

Reference Information

CVE: CVE-2023-2253