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

Medium Nessus Plugin ID 91929

New! Vulnerability Priority Rating (VPR)

Tenable calculates a dynamic VPR for every vulnerability. VPR combines vulnerability information with threat intelligence and machine learning algorithms to predict which vulnerabilities are most likely to be exploited in attacks. Read more about what VPR is and how it's different from CVSS.

VPR Score: 3.4

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.5

Type: local

Published: 2016/07/05

Updated: 2018/12/19

Dependencies: 12634

Risk Information

Risk Factor: Medium

VPR Score: 3.4

CVSS v2.0

Base Score: 4.6

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

CVSS v3.0

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: 2016/07/03

Vulnerability Publication Date: 2016/07/01

Reference Information

CVE: CVE-2016-6153