Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cxc26de0c2-3620 @ Npm-flow-dev-tools-99.10.9 #69

Open
pedromprdias2 opened this issue May 9, 2022 · 0 comments
Open

Cxc26de0c2-3620 @ Npm-flow-dev-tools-99.10.9 #69

pedromprdias2 opened this issue May 9, 2022 · 0 comments

Comments

@pedromprdias2
Copy link
Owner

Vulnerable Package issue exists @ Npm-flow-dev-tools-99.10.9 in branch main

This package is using dependency confusion attack

About

Dependency Confusion is a technique discovered by @alex.birsan to hijack a privately used package by registering its name (if available) on a public registry with a higher version number. This may cause artifact servers and build tools to "confuse" and use the attacker's package.

For example, consider the following private package "my-company-utils" being hosted on a private artifact server:

infographic

In case an attacker targeting "my-company-utils" package, as long as it is not occupied by someone else on the official package manager, he's free to register it. If the attacker registers it and published with a very high version number such as "v99.99.99" most likely the automatic update logic and version comparisons functions will "confuse" and prefer using the attacker's package

infographic

As an addition step of mitigation, we recommend using our open-source tool as a CI step DustiLock

Namespace: pedromprdias2
Repository: ast-advanced-lab
Repository Url: https://github.com/pedromprdias2/ast-advanced-lab
CxAST-Project: pedromprdias2/ast-advanced-lab
CxAST platform scan: 59e5c026-c9b9-4ab6-9bc9-6bd98bf016ab
Branch: main
Application: ast-advanced-lab
Severity: HIGH
State: NOT_IGNORED
Status: NEW
CWE: Dependency Confusion


Addition Info

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant