Improper Access Control Affecting @uniswap/universal-router package, versions <1.1.0


Severity

Recommended
0.0
medium
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

Exploit Maturity
Proof of concept
EPSS
0.26% (65th percentile)

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 Learn

Learn about Improper Access Control vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-JS-UNISWAPUNIVERSALROUTER-3225996
  • published5 Jan 2023
  • disclosed5 Jan 2023
  • creditDedaub Team

Introduced: 5 Jan 2023

CVE-2022-48216  (opens in a new tab)
CWE-284  (opens in a new tab)

How to fix?

Upgrade @uniswap/universal-router to version 1.1.0 or higher.

Overview

@uniswap/universal-router is a Smart contracts for Universal Router

Affected versions of this package are vulnerable to Improper Access Control such that a recipient can easily reenter the contract (by calling transfer or sweep inside its onERC721Received handler) and drain the entire fund's amount.

CVSS Scores

version 3.1