Use After Free Affecting nss package, versions <2:3.32-1ubuntu3


Severity

Recommended
medium

Based on Ubuntu security rating.

Threat Intelligence

EPSS
3.05% (88th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-UBUNTU1710-NSS-421237
  • published11 Jun 2018
  • disclosed11 Jun 2018

Introduced: 11 Jun 2018

CVE-2017-7805  (opens in a new tab)
CWE-416  (opens in a new tab)

How to fix?

Upgrade Ubuntu:17.10 nss to version 2:3.32-1ubuntu3 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream nss package and not the nss package as distributed by Ubuntu. See How to fix? for Ubuntu:17.10 relevant fixed versions and status.

During TLS 1.2 exchanges, handshake hashes are generated which point to a message buffer. This saved data is used for later messages but in some cases, the handshake transcript can exceed the space available in the current buffer, causing the allocation of a new buffer. This leaves a pointer pointing to the old, freed buffer, resulting in a use-after-free when handshake hashes are then calculated afterwards. This can result in a potentially exploitable crash. This vulnerability affects Firefox < 56, Firefox ESR < 52.4, and Thunderbird < 52.4.