FreeBSD : ansible - win_unzip path normalization (0899c0d3-80f2-11ea-bafd-815569f3852d)

high Nessus Plugin ID 135729

Language:

Synopsis

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

Description

Borja Tarraso reports :

A flaw was found in Ansible 2.7.17 and prior, 2.8.9 and prior, and 2.9.6 and prior when using the Extract-Zip function from the win_unzip module as the extracted file(s) are not checked if they belong to the destination folder. An attacker could take advantage of this flaw by crafting an archive anywhere in the file system, using a path traversal. This issue is fixed in 2.10.

Solution

Update the affected packages.

See Also

https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2020-1737

https://github.com/ansible/ansible/issues/67795

http://www.nessus.org/u?5c5640ce

http://www.nessus.org/u?e784346d

http://www.nessus.org/u?b10be199

http://www.nessus.org/u?57ce7a14

Plugin Details

Severity: High

ID: 135729

File Name: freebsd_pkg_0899c0d380f211eabafd815569f3852d.nasl

Version: 1.3

Type: local

Published: 4/20/2020

Updated: 3/15/2024

Supported Sensors: Nessus

Risk Information

VPR

Risk Factor: Medium

Score: 5.9

CVSS v2

Risk Factor: Medium

Base Score: 4.6

Temporal Score: 3.4

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

CVSS Score Source: CVE-2020-1737

CVSS v3

Risk Factor: High

Base Score: 7.8

Temporal Score: 6.8

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

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

Vulnerability Information

CPE: p-cpe:/a:freebsd:freebsd:ansible, p-cpe:/a:freebsd:freebsd:ansible23, p-cpe:/a:freebsd:freebsd:ansible24, p-cpe:/a:freebsd:freebsd:ansible25, p-cpe:/a:freebsd:freebsd:ansible26, p-cpe:/a:freebsd:freebsd:ansible27, cpe:/o:freebsd:freebsd

Required KB Items: Host/local_checks_enabled, Host/FreeBSD/release, Host/FreeBSD/pkg_info

Exploit Ease: No known exploits are available

Patch Publication Date: 4/17/2020

Vulnerability Publication Date: 2/12/2020

Reference Information

CVE: CVE-2020-1737