Debian DLA-1354-1 : opencv security update

medium Nessus Plugin ID 109149

Synopsis

The remote Debian host is missing a security update.

Description

Two vulnerabilities were found in OpenCV, the 'Open Computer Vision Library'.

CVE-2018-5268

In OpenCV 3.3.1, a heap-based buffer overflow happens in cv::Jpeg2KDecoder::readComponent8u in modules/imgcodecs/src/grfmt_jpeg2000.cpp when parsing a crafted image file.

CVE-2018-5269

In OpenCV 3.3.1, an assertion failure happens in cv::RBaseStream::setPos in modules/imgcodecs/src/bitstrm.cpp because of an incorrect integer cast.

For Debian 7 'Wheezy', these problems have been fixed in version 2.3.1-11+deb7u4.

We recommend that you upgrade your opencv packages.

NOTE: Tenable Network Security has extracted the preceding description block directly from the DLA security advisory. Tenable has attempted to automatically clean and format it as much as possible without introducing additional issues.

Solution

Upgrade the affected packages.

See Also

https://lists.debian.org/debian-lts-announce/2018/04/msg00019.html

https://packages.debian.org/source/wheezy/opencv

Plugin Details

Severity: Medium

ID: 109149

File Name: debian_DLA-1354.nasl

Version: 1.6

Type: local

Agent: unix

Published: 4/19/2018

Updated: 10/30/2024

Supported Sensors: Frictionless Assessment Agent, Nessus Agent, Agentless Assessment, Nessus

Risk Information

VPR

Risk Factor: Medium

Score: 4.4

CVSS v2

Risk Factor: Medium

Base Score: 4.3

Temporal Score: 3.4

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

CVSS Score Source: CVE-2018-5269

CVSS v3

Risk Factor: Medium

Base Score: 5.5

Temporal Score: 5

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

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

Vulnerability Information

CPE: p-cpe:/a:debian:debian_linux:libopencv-flann2.3, p-cpe:/a:debian:debian_linux:libopencv-calib3d-dev, p-cpe:/a:debian:debian_linux:libopencv-calib3d2.3, p-cpe:/a:debian:debian_linux:libopencv-dev, p-cpe:/a:debian:debian_linux:libopencv-gpu2.3, p-cpe:/a:debian:debian_linux:libcv-dev, p-cpe:/a:debian:debian_linux:libopencv-video2.3, p-cpe:/a:debian:debian_linux:libopencv-core-dev, p-cpe:/a:debian:debian_linux:libopencv-objdetect2.3, p-cpe:/a:debian:debian_linux:libopencv-gpu-dev, p-cpe:/a:debian:debian_linux:libopencv-legacy-dev, p-cpe:/a:debian:debian_linux:libopencv-highgui-dev, p-cpe:/a:debian:debian_linux:python-opencv, p-cpe:/a:debian:debian_linux:libhighgui2.3, p-cpe:/a:debian:debian_linux:libcv2.3, p-cpe:/a:debian:debian_linux:libopencv-ml-dev, p-cpe:/a:debian:debian_linux:libopencv-features2d-dev, p-cpe:/a:debian:debian_linux:libopencv-contrib-dev, p-cpe:/a:debian:debian_linux:libopencv-highgui2.3, p-cpe:/a:debian:debian_linux:libopencv-video-dev, p-cpe:/a:debian:debian_linux:opencv-doc, p-cpe:/a:debian:debian_linux:libhighgui-dev, p-cpe:/a:debian:debian_linux:libopencv-core2.3, p-cpe:/a:debian:debian_linux:libcvaux-dev, cpe:/o:debian:debian_linux:7.0, p-cpe:/a:debian:debian_linux:libopencv-objdetect-dev, p-cpe:/a:debian:debian_linux:libcvaux2.3, p-cpe:/a:debian:debian_linux:libopencv-legacy2.3, p-cpe:/a:debian:debian_linux:libopencv-imgproc-dev, p-cpe:/a:debian:debian_linux:libopencv-ml2.3, p-cpe:/a:debian:debian_linux:libopencv-imgproc2.3, p-cpe:/a:debian:debian_linux:libopencv-features2d2.3, p-cpe:/a:debian:debian_linux:libopencv-contrib2.3, p-cpe:/a:debian:debian_linux:libopencv-flann-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/18/2018

Reference Information

CVE: CVE-2018-5268, CVE-2018-5269