Rails ActiveSupport

CVE-2023-38037
MEDIUM 5.5

At a glance

Source
NVD
EPSS
EPSS 0.27 % · percentile 20 ()
State
PUBLISHED
Published
Updated
Assigner
hackerone
NVD status
Deferred

Description

ActiveSupport::EncryptedFile writes contents that will be encrypted to a temporary file. The temporary file's permissions are defaulted to the user's current `umask` settings, meaning that it's possible for other users on the same system to read the contents of the temporary file. Attackers that have access to the file system could possibly read the contents of this temporary file while a user is editing it. All users running an affected release should either upgrade or use one of the workarounds immediately.

Weaknesses (CWE)

  • CWE-732 — Incorrect Permission Assignment for Critical Resource

References

Scores

VersionScoreVectorScored by
CVSS 3.0MEDIUM 5.5CVSS:3.0/AV:L/AC:H/PR:L/UI:R/S:U/C:H/I:L/A:Lhackerone
CVSS 3.0MEDIUM 5.5CVSS:3.0/AV:L/AC:H/PR:L/UI:R/S:U/C:H/I:L/A:LNVD · support@hackerone.com (Secondary)

Advisories

European references

CERT-FR advisories

Affected products

ProductVersions
Rails · ActiveSupportaffected >= 5.2.0 < >= 5.2.0 ; unaffected 5.2.0 < 5.2.0 ; unaffected 7.0.7.1, 6.1.7.5 < 7.0.7.1, 6.1.7.5

Sources

SourceLicence
CVE List (CVEProject cvelistV5)CVE Program Terms of Use
EPSS (FIRST.org)FIRST — attribution requested
ENISA EUVDENISA — reproduction authorised, source acknowledged
CERT-FR (ANSSI)Licence Ouverte / Etalab 2.0
NVD (NIST) via fkie-cad/nvd-json-data-feedsPublic domain — this product uses data from the NVD API but is not endorsed or certified by the NVD