Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

GO version vulnerabilities #13116

Closed
kalpanathanneeru21 opened this issue Jul 23, 2024 · 2 comments
Closed

GO version vulnerabilities #13116

kalpanathanneeru21 opened this issue Jul 23, 2024 · 2 comments

Comments

@kalpanathanneeru21
Copy link

Packer version: 1.11.1
Started seeing couple of vulnerabilities in orca scan with packer recently which are related to go version which is 1.21.

{
[2024-07-23T14:08:11.571Z]       "target": "usr/bin/packer",
[2024-07-23T14:08:11.571Z]       "category": "lang-pkgs",
[2024-07-23T14:08:11.571Z]       "type": "gobinary",
[2024-07-23T14:08:11.571Z]       "vulnerabilities": [
[2024-07-23T14:08:11.571Z]         {
[2024-07-23T14:08:11.571Z]           "vulnerability_id": "CVE-2024-24790",
[2024-07-23T14:08:11.571Z]           "severity": "CRITICAL",
[2024-07-23T14:08:11.571Z]           "pkg_name": "stdlib",
[2024-07-23T14:08:11.571Z]           "pkg_path": "",
[2024-07-23T14:08:11.571Z]           "installed_version": "1.21.10",
[2024-07-23T14:08:11.571Z]           "fixed_version": "1.21.11, 1.22.4",
[2024-07-23T14:08:11.571Z]           "cvss_v2_score": "",
[2024-07-23T14:08:11.571Z]           "cvss_v3_score": "9.8",
[2024-07-23T14:08:11.571Z]           "status_summary": {
[2024-07-23T14:08:11.571Z]             "priority": "HIGH",
[2024-07-23T14:08:11.571Z]             "status": "FAILED"
[2024-07-23T14:08:11.571Z]           }
[2024-07-23T14:08:11.571Z]         },
[2024-07-23T14:08:11.571Z]         {
[2024-07-23T14:08:11.571Z]           "vulnerability_id": "CVE-2024-24791",
[2024-07-23T14:08:11.571Z]           "severity": "HIGH",
[2024-07-23T14:08:11.571Z]           "pkg_name": "stdlib",
[2024-07-23T14:08:11.571Z]           "pkg_path": "",
[2024-07-23T14:08:11.571Z]           "installed_version": "1.21.10",
[2024-07-23T14:08:11.571Z]           "fixed_version": "1.21.12, 1.22.5",
[2024-07-23T14:08:11.571Z]           "cvss_v2_score": "",
[2024-07-23T14:08:11.571Z]           "cvss_v3_score": "7.5",
[2024-07-23T14:08:11.571Z]           "status_summary": {
[2024-07-23T14:08:11.571Z]             "priority": "HIGH",
[2024-07-23T14:08:11.571Z]             "status": "FAILED"
[2024-07-23T14:08:11.571Z]           }
[2024-07-23T14:08:11.571Z]         },
[2024-07-23T14:08:11.571Z]         {
[2024-07-23T14:08:11.571Z]           "vulnerability_id": "CVE-2024-24789",
[2024-07-23T14:08:11.571Z]           "severity": "MEDIUM",
[2024-07-23T14:08:11.571Z]           "pkg_name": "stdlib",
[2024-07-23T14:08:11.571Z]           "pkg_path": "",
[2024-07-23T14:08:11.571Z]           "installed_version": "1.21.10",
[2024-07-23T14:08:11.571Z]           "fixed_version": "1.21.11, 1.22.4",
[2024-07-23T14:08:11.571Z]           "cvss_v2_score": "",
[2024-07-23T14:08:11.571Z]           "cvss_v3_score": "5.5",
[2024-07-23T14:08:11.571Z]           "status_summary": {
[2024-07-23T14:08:11.571Z]             "priority": "INFO",
[2024-07-23T14:08:11.571Z]             "status": "WARNING"
[2024-07-23T14:08:11.571Z]           }
[2024-07-23T14:08:11.571Z]         }
[2024-07-23T14:08:11.571Z]       ],

is there any possibility of upgrading go version soon to 1.22.4 or 1.22.5.

@nywilken
Copy link
Contributor

nywilken commented Aug 5, 2024

As mentioned in the change request, we do not bump the Go mod version unless there is a specific reason. However, we bumped the version of Go used for building and releasing, which addresses the issues mentioned in this issue. Packer's tooling is using Go 1.21.12. When Go 1.23.0 is released later this month, we will make the necessary changes to our tooling to support Go 1.22.5+.

If ever you find an issue and wish to open a change request against Packer's tooling you can do so by modifying the .go-version file at the project's root directory.

@nywilken nywilken closed this as completed Aug 5, 2024
Copy link

github-actions bot commented Sep 6, 2024

I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues.
If you have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Sep 6, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants