Prototype Pollution Affecting fine-uploader package, versions *


Severity

Recommended
0.0
medium
0
10

    Threat Intelligence

    Exploit Maturity
    Proof of concept

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk ID SNYK-JS-FINEUPLOADER-585902
  • published 19 Jul 2020
  • disclosed 19 Jul 2020
  • credit Sam Sanoop of Snyk Security Team

Introduced: 19 Jul 2020

CVE NOT AVAILABLE CWE-1321 Open this link in a new tab
First added by Snyk

How to fix?

There is no fixed version for fine-uploader.

Overview

fine-uploader is a npm package for upload.

Note: This project is no longer maintained and the the package should be considered deprecated.

Affected versions of this package are vulnerable to Prototype Pollution. Given a value such as __proto__, this value is used by the extend function without any prior validation. __proto__ will modify the properties of all existing properties and new properties resulting in pollution of an object's prototype.

PoC

//https://docs.fineuploader.com/branch/master/api/qq.html#qq.extend
var payload = JSON.parse('{"__proto__": {"a": "polluted"}}');
var new = qq.extend({}, payload);
console.log({}.a);

CVSS Scores

version 3.1
Expand this section

Snyk

4.8 medium
  • Attack Vector (AV)
    Network
  • Attack Complexity (AC)
    High
  • Privileges Required (PR)
    None
  • User Interaction (UI)
    None
  • Scope (S)
    Unchanged
  • Confidentiality (C)
    Low
  • Integrity (I)
    Low
  • Availability (A)
    None