adobe / adobe/aem-upload

Currently failing basic vulnerability due to transitive dependencies therefore vastly limiting its usability!

Open
#124 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
68
Forks
18
PR merge metrics
No merged PRs in 30d

Description

### As an Enterprise customer, I expect libraries which are maintained, managed and endorsed by Adobe to meet basic vulnerability scanning standards. This library in its current form introduces CVE's into organizations.

### Actual Behavior: 2 medium severity vulnerabilities have indeed been detected.
- SNYK-JS-INFLIGHT-6095116
- SNYK-JS-TAR-6476909

### Reproduce Scenario (including but not limited to)
Steps to reproduce can be found on Synk Security Vulnerability Database: https://security.snyk.io/vuln/SNYK-JS-INFLIGHT-6095116

#### Platform and Version
N/A

#### Sample Code that illustrates the problem
```
const inflight = require('inflight');

function testInflight() {
let i = 0;
function scheduleNext() {
let key = `key-${i++}`;
const callback = () => {
};
for (let j = 0; j < 1000000; j++) {
inflight(key, callback);
}

setImmediate(scheduleNext);
}

if (i % 100 === 0) {
console.log(process.memoryUsage());
}

scheduleNext();
}

testInflight();
```

#### Logs taken while reproducing problem
https://github.com/isaacs/inflight/issues/5

Contributor guide

Open the contributing guide

Research direction

Start by reviewing the dependency manifest and dependency tree for the transitive packages associated with SNYK-JS-INFLIGHT-6095116 and SNYK-JS-TAR-6476909. Compare the findings with the linked Snyk and inflight reports; done means the affected vulnerabilities are no longer introduced by this library and the vulnerability scan passes.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
security
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.