Bug#1109551: [Pkg-javascript-devel] Bug#1109551: node-form-data: CVE-2025-7783

2025-07-27 Thread Yadd

On 7/27/25 19:29, Pragyansh Chaturvedi wrote:

Hi

upstream has the fix: https://github.com/form-data/form-data/ 
commit/3d1723080e6577a66f17f163ecd345a21d8d0fd0
while debian has the fix: https://salsa.debian.org/js-team/node-form- 
data/-/commit/cee782f6ff789f389e6ce2f34ae9549d291e85be


These fixes are different. The CVE fix in debian does not have a 50 
character boundary anymore, but a 62 character boundary now.
This causes autopkgtest failure in node-superagent: https:// 
ci.debian.net/packages/n/node-superagent/testing/amd64/62420387/, the 
payload size asserts now fail. This does not allow node-form-data to 
migrate.
Please use the upstream's fix for this CVE instead of 
crypto.randomUUID() to preserve boundary length and not break other 
packages.


Upstream added a dependency instead of using built-in module, applying 
upstream dependency is impossible for Trixie.




Bug#1109551: node-form-data: CVE-2025-7783

2025-07-27 Thread Pragyansh Chaturvedi

Hi

upstream has the fix: 
https://github.com/form-data/form-data/commit/3d1723080e6577a66f17f163ecd345a21d8d0fd0
while debian has the fix: 
https://salsa.debian.org/js-team/node-form-data/-/commit/cee782f6ff789f389e6ce2f34ae9549d291e85be


These fixes are different. The CVE fix in debian does not have a 50 
character boundary anymore, but a 62 character boundary now.
This causes autopkgtest failure in node-superagent: 
https://ci.debian.net/packages/n/node-superagent/testing/amd64/62420387/, 
the payload size asserts now fail. This does not allow node-form-data to 
migrate.
Please use the upstream's fix for this CVE instead of 
crypto.randomUUID() to preserve boundary length and not break other 
packages.




Bug#1109551: node-form-data: CVE-2025-7783

2025-07-27 Thread Pragyansh Chaturvedi

Hi

upstream has the fix: 
https://github.com/form-data/form-data/commit/3d1723080e6577a66f17f163ecd345a21d8d0fd0
while debian has the fix: 
https://salsa.debian.org/js-team/node-form-data/-/commit/cee782f6ff789f389e6ce2f34ae9549d291e85be


These fixes are different. The CVE fix in debian does not have a 50 
character boundary anymore, but a 62 character boundary now.
This causes autopkgtest failure in node-superagent: 
https://ci.debian.net/packages/n/node-superagent/testing/amd64/62420387/, 
the payload size asserts now fail. This does not allow node-form-data to 
migrate.
Please use the upstream's fix for this CVE instead of 
crypto.randomUUID() to preserve boundary length and not break other 
packages.


Regards

Pragyansh



Bug#1109551: node-form-data: CVE-2025-7783

2025-07-19 Thread Salvatore Bonaccorso
Source: node-form-data
Version: 4.0.1-1
Severity: important
Tags: security upstream
X-Debbugs-Cc: [email protected], Debian Security Team 

Hi,

The following vulnerability was published for node-form-data.

CVE-2025-7783[0]:
| Use of Insufficiently Random Values vulnerability in form-data
| allows HTTP Parameter Pollution (HPP). This vulnerability is
| associated with program files lib/form_data.Js.  This issue affects
| form-data: < 2.5.4, 3.0.0 - 3.0.3, 4.0.0 - 4.0.3.


If you fix the vulnerability please also make sure to include the
CVE (Common Vulnerabilities & Exposures) id in your changelog entry.

For further information see:

[0] https://security-tracker.debian.org/tracker/CVE-2025-7783
https://www.cve.org/CVERecord?id=CVE-2025-7783
[1] 
https://github.com/form-data/form-data/security/advisories/GHSA-fjxv-7rqg-78g4
[2] 
https://github.com/form-data/form-data/commit/3d1723080e6577a66f17f163ecd345a21d8d0fd0

Please adjust the affected versions in the BTS as needed.

Regards,
Salvatore