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

Cx8d6ac0b0-c224 @ Npm-flow-dev-tools-99.10.9 #78

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

Cx8d6ac0b0-c224 @ Npm-flow-dev-tools-99.10.9 #78

gvocstr opened this issue May 9, 2022 · 0 comments

Comments

@gvocstr
Copy link
Owner

gvocstr commented May 9, 2022

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: gvocstr
Repository: ast-advanced-lab
Repository Url: https://github.com/gvocstr/ast-advanced-lab
CxAST-Project: gvocstr/ast-advanced-lab
CxAST platform scan: 2a525e57-0ef3-4b26-9f0e-6090ac931cbe
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