Debian DSA-5119-1 : subversion - security update

medium Nessus Plugin ID 159709

Synopsis

The remote Debian host is missing one or more security-related updates.

Description

The remote Debian 10 / 11 host has packages installed that are affected by multiple vulnerabilities as referenced in the dsa-5119 advisory.

- Apache Subversion SVN authz protected copyfrom paths regression Subversion servers reveal 'copyfrom' paths that should be hidden according to configured path-based authorization (authz) rules. When a node has been copied from a protected location, users with access to the copy can see the 'copyfrom' path of the original. This also reveals the fact that the node was copied. Only the 'copyfrom' path is revealed; not its contents. Both httpd and svnserve servers are vulnerable. (CVE-2021-28544)

- Subversion's mod_dav_svn is vulnerable to memory corruption. While looking up path-based authorization rules, mod_dav_svn servers may attempt to use memory which has already been freed. Affected Subversion mod_dav_svn servers 1.10.0 through 1.14.1 (inclusive). Servers that do not use mod_dav_svn are not affected. (CVE-2022-24070)

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

Solution

Upgrade the subversion packages.

For the stable distribution (bullseye), these problems have been fixed in version 1.14.1-3+deb11u1.

See Also

https://security-tracker.debian.org/tracker/source-package/subversion

https://www.debian.org/security/2022/dsa-5119

https://security-tracker.debian.org/tracker/CVE-2021-28544

https://security-tracker.debian.org/tracker/CVE-2022-24070

https://packages.debian.org/source/buster/subversion

https://packages.debian.org/source/bullseye/subversion

Plugin Details

Severity: Medium

ID: 159709

File Name: debian_DSA-5119.nasl

Version: 1.4

Type: local

Agent: unix

Published: 4/13/2022

Updated: 11/1/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: Low

Base Score: 3.5

Temporal Score: 2.7

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

CVSS Score Source: CVE-2021-28544

CVSS v3

Risk Factor: Medium

Base Score: 4.3

Temporal Score: 3.9

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

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

Vulnerability Information

CPE: p-cpe:/a:debian:debian_linux:python3-subversion, p-cpe:/a:debian:debian_linux:python-subversion, cpe:/o:debian:debian_linux:11.0, p-cpe:/a:debian:debian_linux:libsvn-doc, p-cpe:/a:debian:debian_linux:ruby-svn, cpe:/o:debian:debian_linux:10.0, p-cpe:/a:debian:debian_linux:subversion-tools, p-cpe:/a:debian:debian_linux:libsvn-java, p-cpe:/a:debian:debian_linux:libapache2-mod-svn, p-cpe:/a:debian:debian_linux:libsvn1, p-cpe:/a:debian:debian_linux:subversion, p-cpe:/a:debian:debian_linux:libsvn-perl, p-cpe:/a:debian:debian_linux:libsvn-dev

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

Exploit Available: true

Exploit Ease: Exploits are available

Patch Publication Date: 4/13/2022

Vulnerability Publication Date: 4/12/2022

Reference Information

CVE: CVE-2021-28544, CVE-2022-24070