Skip to content
OpenAdvisories
Medium · 6.5 CVE-2023-46234 EUVD-2023-2835GHSA-x9w5-v3q2-3rhw

browserify-sign vulnerable via an upper bound check issue in `dsaVerify` that leads to a signature forgery attack

Published Oct 26, 2023 · Updated Feb 13, 2025 · Assigned by GitHub_M

Description

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.

Affected products

VendorProductAffectedFixed
browserify browserify-sign >= 2.6.0, <= 4.2.1 —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 node-browserify-sign 4.2.2-1 —
Debian 13 node-browserify-sign 4.2.2-1 —
Debian 12 node-browserify-sign 4.2.1-3+deb12u1 DSA-5539-1
Debian 11 node-browserify-sign 4.2.1-1+deb11u1 DSA-5539-1
Debian 10 node-browserify-sign 4.0.4-2+deb10u1 DLA-3635-1
ReleasePackageFixed inAdvisory
Ubuntu 22.04 LTS node-browserify-sign 4.2.1-2ubuntu0.1 USN-6800-1
Ubuntu 20.04 LTS node-browserify-sign 4.0.4-2ubuntu0.20.04.1 USN-6800-1
Show 1 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Ubuntu Pro 18.04 LTS node-browserify-sign 4.0.4-2ubuntu0.18.04.1~esm1 USN-6800-1
ReleasePackageFixed inAdvisory
openSUSE Tumbleweed velociraptor 0.7.0.4.git142.862ef23-1.1 openSUSE-SU-2025:14663-1

Azure Linux

ReleasePackageFixed inAdvisory
Azure Linux 2 (CBL-Mariner) reaper 3.1.1-9 —

Affected packages

EcosystemPackageAffectedFixedRecord
npm browserify-sign >= 2.6.0, < 4.2.2 4.2.2 GHSA-x9w5-v3q2-3rhw

Advisories 7

References