Bug 2246470 (CVE-2023-46234)

Summary: CVE-2023-46234 browserify-sign: upper bound check issue in dsaVerify leads to a signature forgery attack
Product: [Other] Security Response Reporter: TEJ RATHI <trathi>
Component: vulnerabilityAssignee: Product Security <prodsec-ir-bot>
Status: NEW --- QA Contact:
Severity: high Docs Contact:
Priority: high    
Version: unspecifiedCC: aileenc, amasferr, amctagga, asoldano, aveerama, bbaranow, bbuckingham, bcourt, bdettelb, bmaxwell, brian.stansberry, caswilli, cdewolf, chazlett, cmiranda, darran.lofthouse, davidn, dfreiber, dhanak, dkreling, dosoudil, dsimansk, ehelms, epacific, eric.wittmann, fjuma, gmalinko, gparvin, hkataria, ibek, ivassile, iweiss, janstey, jburrell, jcammara, jcantril, jchui, jhardy, jkoehler, jneedle, jobarker, jrokos, jshaughn, jsherril, jwendell, jweng, kaycoth, kshier, ktsao, kverlaen, lball, lgao, lzap, mabashia, matzew, mhulan, mkudlej, mnovotny, mosmerov, msochure, mstefank, msvehla, mwringe, nbecker, nboldt, njean, nmoumoul, nwallace, orabin, osapryki, owatkins, pahickey, pantinor, pcongius, pcreech, pdelbell, peholase, periklis, pjindal, pmackay, rcernich, rchan, rguimara, rhaigner, rhuss, rogbas, rstancel, sdawley, shbose, simaishi, skontopo, smaestri, smcdonal, teagle, tjochec, tom.jenkinson, twalsh, ubhargav, vkumar, yguenane, zsadeh
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: browserify-sign 4.2.2 Doc Type: If docs needed, set a value
Doc Text:
A flaw was found in browserify-sign node package. This issue may allow a malicious user to execute a signature forgery attack by not correctly checking cryptographic signatures for DSA data, resulting in a jeopardized environment.
Story Points: ---
Clone Of: Environment:
Last Closed: 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: 2246472, 2246628, 2246630, 2246471, 2246474, 2246475, 2246476, 2246629, 2246631, 2246632, 2246633    
Bug Blocks: 2246478    

Description TEJ RATHI 2023-10-27 05:34:50 UTC
browserify-sign is a package to duplicate the functionality of node's crypto public key functions, much of this is based on Fedor Indutny's work on indutny/tls.js. An upper bound check issue in `dsaVerify` function allows an attacker to construct signatures that can be successfully verified by any public key, thus leading to a signature forgery attack. All places in this project that involve DSA verification of user-input signatures will be affected by this vulnerability. This issue has been patched in version 4.2.2.

https://github.com/browserify/browserify-sign/security/advisories/GHSA-x9w5-v3q2-3rhw
https://github.com/browserify/browserify-sign/commit/85994cd6348b50f2fd1b73c54e20881416f44a30

Comment 6 Patrick Del Bello 2023-10-27 17:43:26 UTC
Created golang-github-prometheus tracking bugs for this issue:

Affects: epel-all [bug 2246628]


Created mozjs78 tracking bugs for this issue:

Affects: fedora-all [bug 2246631]


Created seamonkey tracking bugs for this issue:

Affects: epel-all [bug 2246629]
Affects: fedora-all [bug 2246632]


Created yarnpkg tracking bugs for this issue:

Affects: epel-all [bug 2246630]
Affects: fedora-all [bug 2246633]

Comment 8 errata-xmlrpc 2023-10-30 12:53:51 UTC
This issue has been addressed in the following products:

  Red Hat Openshift distributed tracing 2.9

Via RHSA-2023:6180 https://access.redhat.com/errata/RHSA-2023:6180