Bug 1774831 (CVE-2019-11745)

Summary: CVE-2019-11745 nss: Out-of-bounds write when passing an output buffer smaller than the block size to NSC_EncryptUpdate
Product: [Other] Security Response Reporter: Huzaifa S. Sidhpurwala <huzaifas>
Component: vulnerabilityAssignee: Red Hat Product Security <security-response-team>
Status: CLOSED ERRATA QA Contact:
Severity: high Docs Contact:
Priority: high    
Version: unspecifiedCC: bfinger, cpelland, crypto-team, cschalle, dueno, elio.maldonado.batiz, gecko-bugs-nobody, gsuckevi, hkario, jhorak, kdudka, kengert, nss-nspr-maint, rrelyea, security-response-team, stransky
Target Milestone: ---Keywords: Security, Triaged
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: nss 3.44.3, nss 3.47.1 Doc Type: If docs needed, set a value
Doc Text:
A heap-based buffer overflow was found in the NSC_EncryptUpdate() function in Mozilla nss. A remote attacker could trigger this flaw via SRTP encrypt or decrypt operations, to execute arbitrary code with the permissions of the user running the application (compiled with nss). While the attack complexity is high, the impact to confidentiality, integrity, and availability are high as well.
Story Points: ---
Clone Of: Environment:
Last Closed: 2019-12-09 19:24:01 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 1775909, 1775910, 1775911, 1775912, 1775913, 1781446, 1795918, 1804373, 1804374, 1804375, 1862440    
Bug Blocks: 1774832    

Description Huzaifa S. Sidhpurwala 2019-11-21 04:54:57 UTC
A heap-based buffer overflow was found in the NSC_EncryptUpdate() function. A remote attacker could trigger this flaw via SRTP encrypt or decrypt operations, to execute arbitrary code with the permissions of the user running the application (compiled with nss)

Comment 1 Huzaifa S. Sidhpurwala 2019-11-21 04:55:01 UTC
Acknowledgments:

Name: the Mozilla Project

Comment 2 Huzaifa S. Sidhpurwala 2019-11-23 15:02:45 UTC
Upstream bug: (currently non-public) https://bugzilla.mozilla.org/show_bug.cgi?id=1586176
Upstream patch: https://hg.mozilla.org/releases/mozilla-esr68/rev/ea1bc0fb2dda

Comment 4 Huzaifa S. Sidhpurwala 2019-11-23 15:04:11 UTC
This issue is fixed in Fedora by rebasing to 3.47.1 via the following updates:
http://koji.fedoraproject.org/packages/nss/3.47.1/1.fc30
http://koji.fedoraproject.org/packages/nss/3.47.1/1.fc31

Comment 9 Doran Moppert 2019-12-05 10:55:04 UTC
Statement:

Firefox and Thunderbird on Red Hat Enterprise Linux are built against the system nss library.

Comment 10 errata-xmlrpc 2019-12-09 13:34:51 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 8

Via RHSA-2019:4114 https://access.redhat.com/errata/RHSA-2019:4114

Comment 11 Product Security DevOps Team 2019-12-09 19:24:01 UTC
This bug is now closed. Further updates for individual products will be reflected on the CVE page(s):

https://access.redhat.com/security/cve/cve-2019-11745

Comment 13 errata-xmlrpc 2019-12-10 12:15:50 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 6

Via RHSA-2019:4152 https://access.redhat.com/errata/RHSA-2019:4152

Comment 14 errata-xmlrpc 2019-12-10 16:21:21 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 7

Via RHSA-2019:4190 https://access.redhat.com/errata/RHSA-2019:4190

Comment 23 errata-xmlrpc 2020-01-27 15:09:01 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 8.0 Update Services for SAP Solutions

Via RHSA-2020:0243 https://access.redhat.com/errata/RHSA-2020:0243

Comment 26 errata-xmlrpc 2020-02-11 08:33:21 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 6.6 Advanced Update Support

Via RHSA-2020:0466 https://access.redhat.com/errata/RHSA-2020:0466

Comment 36 errata-xmlrpc 2020-04-01 08:33:33 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 7.5 Extended Update Support

Via RHSA-2020:1267 https://access.redhat.com/errata/RHSA-2020:1267

Comment 37 errata-xmlrpc 2020-04-07 09:33:09 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 7.4 Advanced Update Support
  Red Hat Enterprise Linux 7.4 Update Services for SAP Solutions
  Red Hat Enterprise Linux 7.4 Telco Extended Update Support

Via RHSA-2020:1345 https://access.redhat.com/errata/RHSA-2020:1345

Comment 38 errata-xmlrpc 2020-04-14 17:39:41 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 7.6 Extended Update Support

Via RHSA-2020:1461 https://access.redhat.com/errata/RHSA-2020:1461