Several extraction and scanning code paths registered late defers which could leak resources and exhaust system resources.
This report is an aggregate of these individual reports for the affected code:
| Advisory |
Affected File |
GHSA-jjgh-mc5q-gch7 |
pkg/action/scan.go |
GHSA-mwmf-fxh2-w4x7 |
pkg/archive/deb.go |
GHSA-p8j3-rpf5-gwv3 |
pkg/archive/gzip.go |
GHSA-qfh4-7f5v-75gq |
pkg/archive/zlib.go |
GHSA-wxxf-r586-5rf5 |
pkg/archive/bzip2.go |
Fix: #1354, #1355, #1356, #1361
Acknowledgements
Thank you to Oleh Konko from 1seal for discovering and reporting all six of these issues.
Several extraction and scanning code paths registered late defers which could leak resources and exhaust system resources.
This report is an aggregate of these individual reports for the affected code:
GHSA-jjgh-mc5q-gch7pkg/action/scan.goGHSA-mwmf-fxh2-w4x7pkg/archive/deb.goGHSA-p8j3-rpf5-gwv3pkg/archive/gzip.goGHSA-qfh4-7f5v-75gqpkg/archive/zlib.goGHSA-wxxf-r586-5rf5pkg/archive/bzip2.goFix: #1354, #1355, #1356, #1361
Acknowledgements
Thank you to Oleh Konko from 1seal for discovering and reporting all six of these issues.