@asyncapi/modelina@0.39.7 vulnerabilities

Library for generating data models based on inputs such as AsyncAPI, OpenAPI, or JSON Schema documents

Direct Vulnerabilities

Known vulnerabilities in the @asyncapi/modelina package. This does not include vulnerabilities belonging to this package’s dependencies.

Automatically find and fix vulnerabilities affecting your projects. Snyk scans for vulnerabilities and provides fixes for free.
Fix for free
Vulnerability Vulnerable Version
  • C
Arbitrary Code Injection

@asyncapi/modelina is a The Model SDK for generating data models

Affected versions of this package are vulnerable to Arbitrary Code Injection when using the default presets, via the constructor() in TypeScriptGenerator.

NOTE: The maintainers advise that "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."

How to fix Arbitrary Code Injection?

Upgrade @asyncapi/modelina to version 1.0.0 or higher.

>=0.8.0 <1.0.0
  • H
Code Injection

@asyncapi/modelina is a The Model SDK for generating data models

Affected versions of this package are vulnerable to Code Injection when using the default presets, via the properties field.

How to fix Code Injection?

Upgrade @asyncapi/modelina to version 1.0.0 or higher.

<1.0.0