CWE
89
Advisory Published
Updated

CVE-2021-31856: SQL Injection

First published: Wed Apr 28 2021(Updated: )

A SQL Injection vulnerability in the REST API in Layer5 Meshery 0.5.2 allows an attacker to execute arbitrary SQL commands via the /experimental/patternfiles endpoint (order parameter in GetMesheryPatterns in models/meshery_pattern_persister.go).

Credit: cve@mitre.org

Affected SoftwareAffected VersionHow to fix
Layer5 Meshery=0.5.2

Never miss a vulnerability like this again

Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.

Frequently Asked Questions

  • What is the severity of CVE-2021-31856?

    The severity of CVE-2021-31856 is critical with a severity value of 9.8.

  • How does CVE-2021-31856 affect Layer5 Meshery?

    CVE-2021-31856 affects Layer5 Meshery version 0.5.2.

  • What is the description of CVE-2021-31856?

    CVE-2021-31856 is a SQL Injection vulnerability in the REST API of Layer5 Meshery 0.5.2 that allows an attacker to execute arbitrary SQL commands via the /experimental/patternfiles endpoint.

  • How can an attacker exploit CVE-2021-31856?

    An attacker can exploit CVE-2021-31856 by sending malicious SQL commands through the order parameter in GetMesheryPatterns function of models/meshery_pattern_persister.go using the /experimental/patternfiles endpoint.

  • Is there a fix available for CVE-2021-31856?

    Yes, a fix for CVE-2021-31856 is available. Users should update to a version of Layer5 Meshery that is not affected by the vulnerability.

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.
© 2025 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203