CVE-2023-3384 Quay: stored cross site scripting
Attackers can inject malicious scripts via image labels in Quay, leading to cross-site scripting attacks against users viewing the registry.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Over the internet
- Victim action needed
- A user has to click or open something
- Fix
- None listed
What is CVE-2023-3384?
CVE-2023-3384 is a medium-severity cross-site scripting vulnerability in Red Hat Quay 3, published on 24 Jul 2023. Any signed-in user can exploit it over the network, and only if a user opens a file or follows a link.
Official description
A flaw was found in the Quay registry. While the image labels created through Quay undergo validation both in the UI and backend by applying a regex (validation.py), the same validation is not performed when the label comes from an image. This flaw allows an attacker to publish a malicious image to a public registry containing a script that can be executed via Cross-site scripting (XSS).
Weakness: CWE-79
Which versions are affected by CVE-2023-3384?
It affects 1 product.
Products include Redhat Quay.
How do I fix CVE-2023-3384?
No fix has been published for CVE-2023-3384 yet. Limit exposure of the affected software until one is available.
Escape output for the context it lands in and set a strict Content Security Policy. Upgrading the affected component is the real fix. More about Cross-site scripting.
Is CVE-2023-3384 being exploited?
There is no known exploitation of CVE-2023-3384 in the wild and no public exploit code.
Other vulnerabilities in Red Hat Quay 3
Sources
Also known as GHSA-jgpj-6chm-qj8q.