Vulnerabilities/

Fastly Compute@Edge JS Runtime has fixed random number seed during compilation

Severity:
High

Description

Math.random and crypto.getRandomValues methods failed to use sufficiently random values. The initial value to seed the CSPRNG (cryptographically secure pseudorandom number generator) was baked-in to the final WebAssembly module meaning the sequence of numbers generated was predictable for that specific WebAssembly module.

Recommendation

Update the @fastly/js-compute package to the latest compatible version. Followings are version details:

References

Related Issues

Tags:
npm
@fastly/js-compute
Anything's wrong? Let us know Last updated on January 30, 2023