RHEL 2.1 / 3 / 4 / 5 : curl (RHSA-2009:0341)

medium Nessus Plugin ID 35971

Synopsis

The remote Red Hat host is missing one or more security updates.

Description

Updated curl packages that fix a security issue are now available for Red Hat Enterprise Linux 2.1, 3, 4, and 5.

This update has been rated as having moderate security impact by the Red Hat Security Response Team.

cURL is a tool for getting files from FTP, HTTP, Gopher, Telnet, and Dict servers, using any of the supported protocols. cURL is designed to work without user interaction or any kind of interactivity.

David Kierznowski discovered a flaw in libcurl where it would not differentiate between different target URLs when handling automatic redirects. This caused libcurl to follow any new URL that it understood, including the 'file://' URL type. This could allow a remote server to force a local libcurl-using application to read a local file instead of the remote one, possibly exposing local files that were not meant to be exposed. (CVE-2009-0037)

Note: Applications using libcurl that are expected to follow redirects to 'file://' protocol must now explicitly call curl_easy_setopt(3) and set the newly introduced CURLOPT_REDIR_PROTOCOLS option as required.

cURL users should upgrade to these updated packages, which contain backported patches to correct these issues. All running applications using libcurl must be restarted for the update to take effect.

Solution

Update the affected curl and / or curl-devel packages.

See Also

https://access.redhat.com/security/cve/cve-2009-0037

https://access.redhat.com/errata/RHSA-2009:0341

Plugin Details

Severity: Medium

ID: 35971

File Name: redhat-RHSA-2009-0341.nasl

Version: 1.27

Type: local

Agent: unix

Published: 3/20/2009

Updated: 1/14/2021

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

Risk Information

VPR

Risk Factor: Medium

Score: 6.7

CVSS v2

Risk Factor: Medium

Base Score: 6.8

Temporal Score: 5.3

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

Vulnerability Information

CPE: p-cpe:/a:redhat:enterprise_linux:curl-devel, cpe:/o:redhat:enterprise_linux:5, cpe:/o:redhat:enterprise_linux:4.7, cpe:/o:redhat:enterprise_linux:3, cpe:/o:redhat:enterprise_linux:4, p-cpe:/a:redhat:enterprise_linux:curl, cpe:/o:redhat:enterprise_linux:5.3, cpe:/o:redhat:enterprise_linux:2.1

Required KB Items: Host/local_checks_enabled, Host/RedHat/release, Host/RedHat/rpm-list, Host/cpu

Exploit Available: true

Exploit Ease: Exploits are available

Patch Publication Date: 3/19/2009

Vulnerability Publication Date: 3/4/2009

Reference Information

CVE: CVE-2009-0037

BID: 33962

CWE: 352

RHSA: 2009:0341