Skip to content

Regression: ppp_check_access() may break existing configurations #591

@LGA1150

Description

@LGA1150

openwrt/openwrt#23540 (comment)

60392cf
The check requires all paths from the root dir down to not have group write or others write permissions, which is too strict and may break existing configurations.

There are better ways to solve the TOCTOU bug. One may be using openat2() + fexecve() on fd.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions