GO-2023-2055: Terraform allows arbitrary file write during the `init` operation in github.com/hashicorp/terraform
package
Version:
v1.3.8
Opens a new window with list of versions in this module.
Published: Feb 9, 2023
License: MPL-2.0
Opens a new window with license information.
Imports: 3
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
String hashes a string to a unique hashcode.
crc32 returns a uint32, but for our use we need
a non negative integer. Here we cast to an integer
and invert it if the result is negative.
Strings hashes a list of strings to a unique hashcode.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.