CVE-2022-29622: Malicious File Upload

Published May 16, 2022
·
Updated

An arbitrary file upload vulnerability in formidable v3.1.4 allows attackers to execute arbitrary code via a crafted filename. NOTE: some third parties dispute this issue because the product has common use cases in which uploading arbitrary files is the desired behavior. Also, there are configuration options in all versions that can change the default behavior of how files are handled.

Other sources

Node.js Formidable module could allow a remote attacker to upload arbitrary files, caused by the improper validation of file extensions. By sending a specially-crafted HTTP request using the filename parameter, an attacker could exploit this vulnerability to upload a malicious PDF file, which could allow the attacker to execute arbitrary code on the vulnerable system.

— IBM

Withdrawn: This advisory was improperly assigned.

An arbitrary file upload vulnerability in formidable v3.2.4 allows attackers to execute arbitrary code via a crafted filename.

— GitHub

Affected Software

8 affected componentsFixes available
npm/formidable<3.2.4
3.2.4
IBM Cognos Analytics<=12.0.0-12.0.3
IBM Cognos Analytics<=11.2.0-11.2.4 FP3
Formidable Project Formidable Node.js=3.1.4
debian/node-formidable<3.2.4+20220519git81dd350+~cs4.0.9-1
3.2.4+20220519git81dd350+~cs4.0.9-1
debian/node-formidable<3.2.4+20220519git81dd350+~cs4.0.9-1
3.2.4+20220519git81dd350+~cs4.0.9-1
debian/node-formidable<3.2.4+20220519git81dd350+~cs4.0.9-1
3.2.4+20220519git81dd350+~cs4.0.9-1
debian/node-formidable
3.2.4+20220519git81dd350+~cs4.0.9-1

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade npm/formidable to a version that resolves this vulnerability.

    Fixed in 3.2.4
  2. Upgrade

    Upgrade debian/node-formidable to a version that resolves this vulnerability.

    Fixed in 3.2.4+20220519git81dd350+~cs4.0.9-1

Event History

May 16, 2022
CVE Published
via MITRE·12:00 AM
Data Sourced
via MITRE·12:00 AM
Description
Data Sourced
02:15 PM
DescriptionSeverityWeaknessAffected Software
Data Sourced
via OSV·02:15 PM
DescriptionAffected Software
May 17, 2022
Advisory Published
via GitHub·12:01 AM
Data Sourced
via GitHub·12:01 AM
DescriptionSeverityWeaknessAffected Software
Jun 5, 2022
Exploit Published
via GitHub·10:15 PM
Apr 22, 2024
Advisory Published
via GitHub·11:07 PM
Apr 25, 2024
Withdrawn
via GitHub·04:59 PM
Updated
via GitHub·04:59 PM
Description
Apr 26, 2024
Updated
via NVD·10:15 PM
DescriptionAffected Software
May 14, 2024
Updated
via NVD·10:30 AM
Affected Software
May 17, 2024
Updated
via NVD·02:08 AM
Affected Software
Jul 2, 2024
Updated
via NVD·09:15 PM
Affected Software
Aug 3, 2024
Updated
via NVD·07:15 AM
Affected Software
Dec 17, 2024
Data Sourced
via IBM·12:00 AM
DescriptionAffected Software
Nov 3, 2026
Data Sourced
via OSV·08:01 AM
Severity

Parent advisories

This vulnerability appears in the following advisories.

Frequently Asked Questions

1

What is the severity of CVE-2022-29622?

CVE-2022-29622 is classified as a moderate severity vulnerability due to its potential for arbitrary code execution.

2

How do I fix CVE-2022-29622?

To fix CVE-2022-29622, update the formidable package to version 3.2.4 or later.

3

Which versions of formidable are affected by CVE-2022-29622?

CVE-2022-29622 affects formidable version 3.1.4 and potentially earlier versions.

4

What kind of attack is facilitated by CVE-2022-29622?

CVE-2022-29622 allows attackers to execute arbitrary code through crafted filenames uploaded via the vulnerable application.

5

Are there any applications besides formidable that are affected by CVE-2022-29622?

Yes, IBM Cognos Analytics versions 11.2.0 to 11.2.4 FP3 and 12.0.0 to 12.0.3 are also affected by CVE-2022-29622.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203