@asyncapi/modelina@0.31.1 vulnerabilities

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

  • latest version

    5.10.0

  • latest non vulnerable version

  • first published

    4 years ago

  • latest version published

    10 hours ago

  • licenses detected

  • Direct Vulnerabilities

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

    Fix vulnerabilities automatically

    Snyk's AI Trust Platform automatically finds the best upgrade path and integrates with your development workflows. Secure your code at zero cost.

    Fix for free
    VulnerabilityVulnerable 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