CVE-2024-3622: Mirror-registry: plain-text default csrf secret key

Published Apr 10, 2024
·
Updated

A flaw was found when using mirror-registry to install Quay. It uses a default secret, which is stored in plain-text format in one of the configuration template files. This issue may lead to all instances of Quay deployed using mirror-registry to have the same secret key. This flaw allows a malicious actor to craft session cookies and as a consequence, it may lead to gaining access to the affected Quay instance.

Other sources

The default CSRF SECRETKEY in mirror-registry is stored in plain-text on the jinja's config.yaml file, leaving the possibility of every mirror-registry installation which hasn't changed it to have the same SECRETKEY. The CSRF SECRETKEY is used to encrypt the session cookie and the CSRF used to interpret the user sessions. A successful attack may lead to account takeover in the quay instance.

Red Hat

Affected Software

2 affected components
Red Hat Quay
redhat Mirror Registry

Event History

Apr 10, 2024
Data Sourced
via Red Hat·08:30 PM
DescriptionSeverityAffected Software
Apr 25, 2024
CVE Published
via MITRE·05:46 PM
Data Sourced
via MITRE·05:46 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·06:15 PM
DescriptionSeverityWeaknessAffected Software
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2024-3622?

CVE-2024-3622 is classified as a moderate severity vulnerability due to the potential exposure of sensitive information.

2

How does CVE-2024-3622 affect Red Hat Quay installations?

CVE-2024-3622 allows all instances of Quay installed using mirror-registry to share the same secret key, compromising individual instance security.

3

How do I fix CVE-2024-3622?

To mitigate CVE-2024-3622, manually update the configuration to use unique, secure secret keys for each Quay instance.

4

What causes CVE-2024-3622 vulnerability in Quay?

CVE-2024-3622 is caused by the use of a default secret stored in plain-text format within configuration template files.

5

Can CVE-2024-3622 be exploited remotely?

Yes, CVE-2024-3622 can be exploited remotely affecting all publicly accessible instances of Quay deployed using the flawed setup.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203