CVE-2023-23619: Improper Control of Generation of Code ('Code Injection') in @asyncapi/modelina

Published Jan 26, 2023
·
Updated

Modelina is a library for generating data models based on inputs such as AsyncAPI, OpenAPI, or JSON Schema documents. Versions prior to 1.0.0 are vulnerable to Code injection. This issue affects anyone who is using the default presets and/or does not handle the functionality themself. This issue has been partially mitigated in version 1.0.0, with the maintainer's GitHub Security Advisory (GHSA) noting "It is impossible to fully guard against this, because users have access to the original raw information. However, as of version 1, if you only access the constrained models, you will not encounter this issue. Further similar situations are NOT seen as a security issue, but intended behavior." The suggested workaround from the maintainers is "Fully custom presets that change the entire rendering process which can then escape the user input."

Affected Software

1 affected component
Lfprojects Modelina Node.js<1.0.0

Event History

Jan 26, 2023
CVE Published
via MITRE·10:42 AM
Data Sourced
via MITRE·10:42 AM
DescriptionSeverityWeakness
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 CVE-2023-23619?

CVE-2023-23619 is a code injection vulnerability in Modelina.

2

What is Modelina?

Modelina is a library for generating data models based on inputs such as AsyncAPI, OpenAPI, or JSON Schema documents.

3

How does CVE-2023-23619 affect Modelina?

CVE-2023-23619 affects Modelina by allowing code injection, potentially leading to unauthorized access or control of the system.

4

Who is affected by CVE-2023-23619?

Anyone using Modelina versions prior to 1.0.0 and relying on the default presets or not handling the functionality themselves.

5

How severe is CVE-2023-23619?

CVE-2023-23619 has a severity rating of critical with a score of 8.8 out of 10.

6

How can I fix CVE-2023-23619?

To fix CVE-2023-23619, upgrade to Modelina version 1.0.0 or newer.

7

Is there any additional information about CVE-2023-23619?

You can find additional information about CVE-2023-23619 in the official GitHub advisory: [GitHub Advisory](https://github.com/asyncapi/modelina/security/advisories/GHSA-4jg2-84c2-pj95).

8

What is the Common Weakness Enumeration (CWE) for CVE-2023-23619?

The Common Weakness Enumeration (CWE) for CVE-2023-23619 is CWE-94: Code Injection.

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