Skip to content

Conversation

@renovate-coveooss
Copy link

@renovate-coveooss renovate-coveooss bot commented Jan 21, 2025

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
github.com/hashicorp/go-slug v0.16.0 -> v0.16.3 age adoption passing confidence

Warning

Some dependencies could not be looked up. Check the Dependency Dashboard for more information.

GitHub Vulnerability Alerts

CVE-2025-0377

Summary

HashiCorp’s go-slug library is vulnerable to a zip-slip style attack when a non-existing user-provided path is extracted from the tar entry. This vulnerability, identified as CVE-2025-0377, is fixed in go-slug 0.16.3.

Background

HashiCorp’s go-slug shared library offers functions for packing and unpacking Terraform Enterprise compatible slugs. Slugs are gzip compressed tar files containing Terraform configuration files.

Details

When go-slug performs an extraction, the filename/extraction path is taken from the tar entry via the header.Name. It was discovered that the unpacking step improperly validated paths, potentially leading to path traversal, allowing an attacker to write an arbitrary file during extraction.

Remediation

Consumers of the go-slug shared library should evaluate the risk associated with this issue in the context of their go-slug usage and upgrade go-slug to 0.16.3 or later.


Release Notes

hashicorp/go-slug (github.com/hashicorp/go-slug)

v0.16.3

Compare Source

What's Changed

Note: This release may have issues when unpacking a tarball, we recommend using 0.16.4 or later.

Full Changelog: hashicorp/go-slug@v0.16.2...v0.16.3

v0.16.2

Compare Source

What's Changed

New Contributors

Full Changelog: hashicorp/go-slug@v0.16.1...v0.16.2

v0.16.1

Compare Source

  • #​68: Fix panic in sourcebundle package when RegistryMeta and Packages aren't the same size.

Full Changelog: hashicorp/go-slug@v0.16.0...v0.16.1


Configuration

📅 Schedule: Branch creation - "" in timezone America/Toronto, Automerge - "after 9:00am and before 12:00pm on tuesday, wednesday, thursday" in timezone America/Toronto.

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR has been generated by Renovate Bot.

@renovate-coveooss renovate-coveooss bot changed the title fix(deps): update module github.com/hashicorp/go-slug to v0.16.3 [security] fix(deps): update module github.com/hashicorp/go-slug to v0.16.3 [security] - autoclosed Jul 22, 2025
@renovate-coveooss renovate-coveooss bot deleted the renovate/go-github.com-hashicorp-go-slug-vulnerability branch July 22, 2025 18:07
@renovate-coveooss renovate-coveooss bot changed the title fix(deps): update module github.com/hashicorp/go-slug to v0.16.3 [security] - autoclosed fix(deps): update module github.com/hashicorp/go-slug to v0.16.3 [security] Jul 22, 2025
@renovate-coveooss renovate-coveooss bot reopened this Jul 22, 2025
@renovate-coveooss renovate-coveooss bot force-pushed the renovate/go-github.com-hashicorp-go-slug-vulnerability branch from c422cf7 to 1553163 Compare July 22, 2025 18:38
@renovate-coveooss renovate-coveooss bot force-pushed the renovate/go-github.com-hashicorp-go-slug-vulnerability branch from 1553163 to 61bf7f5 Compare August 27, 2025 11:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant