Description
Summarize prior to 0.15.1 contains an insecure file permission vulnerability in the refresh-free configuration rewrite path that allows local users to read sensitive credentials by exploiting default filesystem permissions. When the refresh-free path rewrites the configuration file, it creates the replacement with default process umask permissions instead of preserving the original file permissions, exposing the config file containing API keys and provider credentials to other local users on shared Unix-like systems.
CVSS breakdown
CVSS 4.0
Attack Vector
Local
Attack Complexity
Low
Attack Requirements
None
Privileges Required
Low
User Interaction
None
Confidentiality (Vulnerable System)
High
Integrity (Vulnerable System)
None
Availability (Vulnerable System)
None
Confidentiality (Subsequent System)
None
Integrity (Subsequent System)
None
Availability (Subsequent System)
None
CVSS 3.1
Attack Vector
Local
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
None
Availability
None
Affected products
- steipete / summarize0 – 0.15.1
- steipete / summarize9e990193650a23dab73f37d5e1964d574a44098b – 9e990193650a23dab73f37d5e1964d574a44098b
References
- PATCHhttps://github.com/steipete/summarize/releases/tag/v0.15.2
- PATCHhttps://github.com/steipete/summarize/pull/217
- PATCHhttps://github.com/steipete/summarize/commit/9e990193650a23dab73f37d5e1964d574a44098b
- VENDOR_ADVISORYhttps://www.vulncheck.com/advisories/summarize-insecure-file-permissions-information-disclosure