Skip to content

Twistlock CVE Findings #1241

@jjtroberts

Description

@jjtroberts

Describe the bug
At Platform One we continuously scan hardened images using Twistlock, Anchore, and OpenSCAP. Our recent scans returned findings for go1.17.5 on a number of controller images:

  • public.ecr.aws/aws-controllers-k8s/apigatewayv2-controller:v0.0.19
  • public.ecr.aws/aws-controllers-k8s/dynamodb-controller:v0.0.18
  • public.ecr.aws/aws-controllers-k8s/elasticache-controller:v0.0.16
  • public.ecr.aws/aws-controllers-k8s/s3-controller:v0.0.17

CVE-2022-23806
Twistlock
go-1.17.5
Curve.IsOnCurve in crypto/elliptic in Go before 1.16.14 and 1.17.x before 1.17.7 can incorrectly return true in situations with a big.Int value that is not a valid field element.

Expected outcome
The go.mod for each of those controllers is set to go 1.17. I would expect that latest builds would use the latest version of go1.17.x, however they seem to be pinned at 1.17.5.

Just looking for information on your build process so we can know how to justify these findings in Iron Bank. For example, when we justify a high finding we also need to add information on whether or not upstream is tracking the issue, and if so, when a fix is expected.

Metadata

Metadata

Labels

kind/bugCategorizes issue or PR as related to a bug.

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions