@asyncapi/modelina/.../modelina@1.0.0-next.3 vulnerabilities

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

  • latest version

    3.10.0

  • latest non vulnerable version

  • first published

    3 years ago

  • latest version published

    3 days ago

  • licenses detected

  • Direct Vulnerabilities

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

    How to fix?

    Automatically find and fix vulnerabilities affecting your projects. Snyk scans for vulnerabilities and provides fixes for free.

    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