Incorrect Default Permissions Affecting github.com/goreleaser/nfpm/v2 package, versions <2.29.0


Severity

Recommended
0.0
high
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

Exploit Maturity
Proof of concept
EPSS
0.05% (25th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Incorrect Default Permissions vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-GOLANG-GITHUBCOMGORELEASERNFPMV2-5600985
  • published25 May 2023
  • disclosed24 May 2023
  • creditChris Adams

Introduced: 24 May 2023

CVE-2023-32698  (opens in a new tab)
CWE-276  (opens in a new tab)

How to fix?

Upgrade github.com/goreleaser/nfpm/v2 to version 2.29.0 or higher.

Overview

github.com/goreleaser/nfpm/v2 is a simple deb, rpm and apk packager written in Go

Affected versions of this package are vulnerable to Incorrect Default Permissions when building packages directly from source control. File permissions on the checked-in files can have world-accessible permissions (chmod 666 or 777).

CVSS Scores

version 3.1