Incorrect Permission Assignment for Critical Resource Affecting doas package, versions <6.8-r1


Severity

Recommended
0.0
high
0
10

Snyk's Security Team recommends NVD's CVSS assessment. Learn more

Threat Intelligence

EPSS
0.31% (70th 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 IDSNYK-ALPINE321-DOAS-8483217
  • published6 Dec 2024
  • disclosed28 Jan 2021

Introduced: 28 Jan 2021

CVE-2019-25016  (opens in a new tab)
CWE-732  (opens in a new tab)

How to fix?

Upgrade Alpine:3.21 doas to version 6.8-r1 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream doas package and not the doas package as distributed by Alpine. See How to fix? for Alpine:3.21 relevant fixed versions and status.

In OpenDoas from 6.6 to 6.8 the users PATH variable was incorrectly inherited by authenticated executions if the authenticating rule allowed the user to execute any command. Rules that only allowed to authenticated user to execute specific commands were not affected by this issue.

CVSS Scores

version 3.1