Improper Input Validation Affecting github.com/luraproject/lura/v2/router/gin package, versions <2.0.2


Severity

Recommended
0.0
medium
0
10

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

Threat Intelligence

EPSS
0.07% (34th 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 IDSNYK-GOLANG-GITHUBCOMLURAPROJECTLURAV2ROUTERGIN-2964944
  • published2 Aug 2022
  • disclosed2 Aug 2022
  • creditFepame

Introduced: 2 Aug 2022

CVE-2022-1561  (opens in a new tab)
CWE-471  (opens in a new tab)

How to fix?

Upgrade github.com/luraproject/lura/v2/router/gin to version 2.0.2 or higher.

Overview

github.com/luraproject/lura/v2/router/gin is a framework to assemble ultra performance API Gateways with middlewares; formerly known as KrakenD framework, and core service of the KrakenD API Gateway

Affected versions of this package are vulnerable to Improper Input Validation due to improper sanitization of URL parameters. A malicious user can alter the backend URL defined for a pipe when remote users send crafty URL requests.

CVSS Scores

version 3.1