Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Upgrade ActiveSupport to 6.1.7.5 to fix local file disclosure vulnerability (CVE-2023-38037) #470

Copy link
Copy link

Description

@yuzhongqi
Issue body actions

Description

Summary
A local file disclosure vulnerability has been identified in Active Support, affecting versions 5.2.0 and later. The issue is tracked under CVE-2023-38037.

Impact
ActiveSupport::EncryptedFile writes data that is meant to be encrypted into a temporary file during the encryption process.
By default, this temporary file’s permissions are determined by the user’s current umask value.

If the umask is not restrictive (for example, 0022), other users on the same system may have read permissions to the temporary file, potentially exposing sensitive data before encryption is complete.

Attackers with local filesystem access could read these temporary files while they are being edited.

All users running affected releases should upgrade or apply the workaround immediately.

Affected Versions

Affected: >= 5.2.0

Not affected: < 5.2.0

Fixed versions: 7.0.7.1, 6.1.7.5

Fix / Recommendation
Upgrade activesupport from 5.2.6 to 6.1.7.5 or newer.

Reactions are currently unavailable

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

    Morty Proxy This is a proxified and sanitized view of the page, visit original site.