Live threats

All CVEs / Apache

CVE-2021-42357Apache Knox

Medium 6.1 No auth needed

Priority
52
CVSS 3.1
6.1
EPSS
2.7%
probability of exploitation in 30 days · percentile 86
Auth required
No
Published
Jan 17, 2022
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-79
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N

What happens

When using Apache Knox SSO prior to 1.6.1, a request could be crafted to redirect a user to a malicious page due to improper URL parsing. A request that included a specially crafted request parameter could be used to redirect the user to a page controlled by an attacker. This URL would need to be presented to the user outside the normal request flow through a XSS or phishing campaign.

Original NVD text.

What to do

  1. Apply the vendor's security update for Knox.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
Maven org.apache.knox:gateway-service-knoxsso < 1.6.1 1.6.1 —

Per OSV / GitHub Advisories (GHSA-vv38-4xcj-q4rw). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
apacheknox< 1.6.1

Official sources

References

Links published by the sources. Open them with care.