Advisory Database
  • Advisories
  • Dependency Scanning
  1. npm
  2. ›
  3. angular-base64-upload
  4. ›
  5. CVE-2024-42640

CVE-2024-42640: angular-base64-upload vulnerable to unauthenticated remote code execution

October 11, 2024

angular-base64-upload versions prior to v0.1.21 are vulnerable to unauthenticated remote code execution via the angular-base64-upload/demo/server.php endpoint. Exploitation of this vulnerability involves uploading arbitrary file content to the server, which can subsequently accessed through the angular-base64-upload/demo/uploads endpoint. This leads to the execution of previously uploaded content which enables the attacker to achieve code execution on the server.

NOTE: This vulnerability only affects products that are no longer supported by the maintainer.

References

  • github.com/adonespitogo/angular-base64-upload
  • github.com/advisories/GHSA-vgxq-6rcf-qwrw
  • github.com/rvizx/CVE-2024-42640
  • nvd.nist.gov/vuln/detail/CVE-2024-42640
  • www.zyenra.com/blog/unauthenticated-rce-in-angular-base64-upload.html

Code Behaviors & Features

Detect and mitigate CVE-2024-42640 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →

Affected versions

All versions before 0.1.21

Fixed versions

  • 0.1.21

Solution

Upgrade to version 0.1.21 or above.

Impact 10 CRITICAL

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H

Learn more about CVSS

Weakness

  • CWE-434: Unrestricted Upload of File with Dangerous Type

Source file

npm/angular-base64-upload/CVE-2024-42640.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sun, 08 Nov 2026 00:16:01 +0000.