Upgrade SQLite in NSS to latest or atleast 3.34.1
Categories
(NSS :: Libraries, defect, P3)
Tracking
(Not tracked)
People
(Reporter: sunny4saurabh, Unassigned)
Details
(Whiteboard: [nss-nofx])
User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/89.0.4389.114 Safari/537.36
Steps to reproduce:
Nss uses sqlite 3.29 which has security vulnerabilities.
Actual results:
SQLite 3.34.1 addressed CVE-2021-20227. CVE-2021-20227 is a vulnerability
that allows an attacker who is capable of running SQL queries locally on the
SQLite database to cause a denial of service or possible code execution by
triggering a use-after-free. Its CVSSv3.1 score is 5.5 in NVD.
Fixes to SQLite were released in version 3.34.1 publicly on January 20, 2021.
Products should always upgrade to the most recent version of a third party
product. The latest SQLite releases can be found at
https://www.sqlite.org/download.html
Expected results:
No security vulnerabilities
Comment 1•5 years ago
|
||
Firefox isn't affected by this - attackers can't cause arbitrary SQL queries to be run on the NSS SQL DBs.
| Reporter | ||
Comment 2•5 years ago
|
||
it is not only firefox which uses nss runtime libs, when we use nss as a third party runtime libs for our product to create certificate db, it is impacted and below security vulnerability is tracked by analyzer tool
SQLite 3.34.1 addressed CVE-2021-20227. CVE-2021-20227 is a vulnerability
that allows an attacker who is capable of running SQL queries locally on the
SQLite database to cause a denial of service or possible code execution by
triggering a use-after-free. Its CVSSv3.1 score is 5.5 in NVD.
Why NSS is not using latest Sqlite which has resolved all these vulnerabilities
Comment 3•5 years ago
|
||
So the version of sqlite that is included in NSS only exists so that NSS can be compiled and run - for testing purposes - without an external dependency. People deploying NSS should be using a different version of sqlite: either one they provide or one that is provided by the operating system. This is what Linux distributions do, for example.
That all said, if someone were to provide a patch, I'd probably just land it. It's not particularly hard to do.
Updated•4 years ago
|
Updated•2 years ago
|
Description
•