CVE-2023-1313: cockpit-hq/cockpit is vulnerable to unrestricted file uploads

Published Mar 10, 2023
·
Updated

cockpit-hq/cockpit is vulnerable to unrestricted file uploads

Other sources

Unrestricted Upload of File with Dangerous Type in GitHub repository cockpit-hq/cockpit prior to 2.4.1.

Affected Software

3 affected componentsFixes available
Agentejo Cockpit<=2.4.0
composer/cockpit-hq/cockpit<2.4.1
2.4.1
composer/cockpit-hq/cockpit<2.4.1
2.4.1

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade composer/cockpit-hq/cockpit to a version that resolves this vulnerability.

    Fixed in 2.4.1
  2. Upgrade

    Upgrade cockpit-hq/cockpit to a version that resolves this vulnerability.

    Fixed in 2.4.1

Event History

Mar 10, 2023
CVE Published
via MITRE·12:00 AM
Data Sourced
via MITRE·12:00 AM
DescriptionSeverityWeakness
Data Sourced
via NVD·12:15 PM
RemedyDescriptionSeverityWeaknessAffected Software
Advisory Published
via GitHub·12:30 PM
Data Sourced
via GitHub·12:30 PM
DescriptionSeverityWeaknessAffected Software
Data Sourced
via Packagist·12:30 PM
DescriptionSeverityAffected Software

Frequently Asked Questions

1

What is the severity of CVE-2023-1313?

The severity of CVE-2023-1313 is high (8.8).

2

What is CVE-2023-1313?

CVE-2023-1313 is an unrestricted upload of a file with a dangerous type vulnerability in the GitHub repository cockpit-hq/cockpit prior to version 2.4.1.

3

How does CVE-2023-1313 affect Agentejo Cockpit?

CVE-2023-1313 affects Agentejo Cockpit version up to and including 2.4.0.

4

How can I fix CVE-2023-1313?

To fix CVE-2023-1313, update Agentejo Cockpit to version 2.4.1 or later.

5

Is there any additional information available about CVE-2023-1313?

Additional information about CVE-2023-1313 can be found in the references: [GitHub Commit](https://github.com/cockpit-hq/cockpit/commit/becca806c7071ecc732521bb5ad0bb9c64299592), [Huntr Dev](https://huntr.dev/bounties/f73eef49-004f-4b3b-9717-90525e65ba61)

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