Use After Free Affecting nss-sysinit package, versions <0:3.28.4-12.el7_4


Severity

Recommended
0.0
high
0
10

Based on Red Hat Enterprise Linux security rating.

Threat Intelligence

EPSS
3.15% (87th 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-RHEL7-NSSSYSINIT-4792123
  • published26 Jul 2021
  • disclosed28 Sept 2017

Introduced: 28 Sep 2017

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

How to fix?

Upgrade RHEL:7 nss-sysinit to version 0:3.28.4-12.el7_4 or higher.
This issue was patched in RHSA-2017:2832.

NVD Description

Note: Versions mentioned in the description apply only to the upstream nss-sysinit package and not the nss-sysinit package as distributed by RHEL. See How to fix? for RHEL:7 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.