FreeBSD : SQLite3 -- Tempdir Selection Vulnerability (546deeea-3fc6-11e6-a671-60a44ce6887b)

medium Nessus Plugin ID 91929

Synopsis

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

Description

KoreLogic security reports :

Affected versions of SQLite reject potential tempdir locations if they are not readable, falling back to '.'. Thus, SQLite will favor e.g.
using cwd for tempfiles on such a system, even if cwd is an unsafe location. Notably, SQLite also checks the permissions of '.', but ignores the results of that check.

Solution

Update the affected package.

See Also

https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=209827

https://korelogic.com/Resources/Advisories/KL-001-2016-003.txt

https://www.openwall.com/lists/oss-security/2016/07/01/2

http://www.sqlite.org/cgi/src/info/67985761aa93fb61

http://www.sqlite.org/cgi/src/info/b38fe522cfc971b3

http://www.sqlite.org/cgi/src/info/614bb709d34e1148

http://www.nessus.org/u?13dd6b3a

Plugin Details

Severity: Medium

ID: 91929

File Name: freebsd_pkg_546deeea3fc611e6a67160a44ce6887b.nasl

Version: 2.6

Type: local

Published: 7/5/2016

Updated: 1/4/2021

Supported Sensors: Nessus

Risk Information

VPR

Risk Factor: Low

Score: 3.4

CVSS v2

Risk Factor: Medium

Base Score: 4.6

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

CVSS v3

Risk Factor: Medium

Base Score: 5.9

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

Vulnerability Information

CPE: p-cpe:/a:freebsd:freebsd:sqlite3, cpe:/o:freebsd:freebsd

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

Patch Publication Date: 7/3/2016

Vulnerability Publication Date: 7/1/2016

Reference Information

CVE: CVE-2016-6153