Advisory

GHSA-8wgc-jjvv-cv6v

Also known as: None

Summary

Improper Authorization in loopback

Details

Vulnerable versions of loopback may allow attackers to create Authentication Tokens on behalf of other users due to Improper Authorization. If the AccessToken model is publicly exposed, an attacker can create Authorization Tokens for any user as long as they know the target's userId. This will allow the attacker to access the user's data and their privileges.

Recommendation

For loopback 2.x, upgrade to version 2.40.0 or later
For loopback 3.x, upgrade to version 3.22.0 or later

Severity

High Basis: The source's own band: HIGH

Dates

Published
2020-09-02 15:54 UTC
Modified
2021-09-27 15:44 UTC

Affected packages and fixes

loopback

npm · All systems

Affected

  • introduced 0, fixed 2.40.0 (semver)

Fixed versions

2.40.0

Fix

loopback

npm · All systems

Affected

  • introduced 3.0.0, fixed 3.22.0 (semver)

Fixed versions

3.22.0

Fix

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences