Skip to content
Heist/ feed
Back to feed
Low

Insecure Temporary File in `foxmarks`

Type: advisorySources: OSV

foxmarks is a CLI read-only interface for Firefox's bookmarks and history. A temporary file was created under the /tmp directory with read permissions for all users containing a copy of Firefox's database of bookmarks, history, input history, visits counter, use counter, view counter and more confidential information about the history of using Firefox. Permissions default to 0o600 for NamedTempFile. However, after copying the database, its permissions were copied with it resulting in an insecure file with 0x644 permissions. A malicious user is able to read the database when the targeted user executes foxmarks bookmarks or foxmarks history. This vulnerability is patched in v2.1.0.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2024-47884
Confirmed fixed CVEs
Not specified
Updated in this feed
3 Nov 2026, 08:26 UTC · Revision 1

Source evidence

Insecure Temporary File in `foxmarks`

core-osv · Original source

Published 11 Oct 2024, 19:15 UTC

foxmarks is a CLI read-only interface for Firefox's bookmarks and history. A temporary file was created under the /tmp directory with read permissions for all users containing a copy of Firefox's database of bookmarks, history, input history, visits counter, use counter, view counter and more confidential information about the history of using Firefox. Permissions default to 0o600 for NamedTempFile. However, after copying the database, its permissions were copied with it resulting in an insecure file with 0x644 permissions. A malicious user is able to read the database when the targeted user executes foxmarks bookmarks or foxmarks history. This vulnerability is patched in v2.1.0.

osv:CVE-2024-47884
Complete source record
{
  "id": "7028abf481642f291f56ab4424d79ca9f60f06da8a61a920e44db9563a1ed369",
  "url": "https://osv.dev/vulnerability/CVE-2024-47884",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "Insecure Temporary File in `foxmarks`",
    "summary": "foxmarks is a CLI read-only interface for Firefox's bookmarks and history. A temporary file was created under the /tmp directory with read permissions for all users containing a copy of Firefox's database of bookmarks, history, input history, visits counter, use counter, view counter and more confidential information about the history of using Firefox. Permissions default to 0o600 for NamedTempFile. However, after copying the database, its permissions were copied with it resulting in an insecure file with 0x644 permissions. A malicious user is able to read the database when the targeted user executes foxmarks bookmarks or foxmarks history. This vulnerability is patched in v2.1.0.",
    "evidence": "osv:CVE-2024-47884",
    "products": [],
    "severity": "low",
    "structured": {
      "id": "CVE-2024-47884",
      "aliases": [
        "CVE-2024-47884",
        "GHSA-8rh2-6pwm-5vvq"
      ],
      "metrics": [
        {
          "type": "CVSS_V4",
          "score": "CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:P/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/zefr0x/foxmarks",
              "type": "GIT",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "50919f1ee38323119f67957879539e19d39f13c5"
                },
                {
                  "fixed": "c3706bd882b3d61b353e4193f7d2dcfabd0c9a8e"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "range": [
                      {
                        "introduced": "0"
                      },
                      {
                        "fixed": "2.1.0"
                      }
                    ],
                    "source": "AFFECTED_FIELD",
                    "strategy": "StringRangeExpression"
                  },
                  {
                    "range": [
                      {
                        "fixed": "c3706bd882b3d61b353e4193f7d2dcfabd0c9a8e"
                      }
                    ],
                    "source": "REFERENCES_COMMIT"
                  }
                ]
              }
            }
          ],
          "versions": [
            "v2.0.3",
            "v2.0.2",
            "v2.0.1",
            "v2.0.0",
            "v2.0.0beta.0",
            "v1.0.2",
            "v1.0.1",
            "v1.0.0",
            "v1.0.0-beta.0"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-47884.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:27.199679201Z",
      "provider": "osv",
      "references": [
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/47xxx/CVE-2024-47884.json",
        "https://github.com/zefr0x/foxmarks/security/advisories/GHSA-8rh2-6pwm-5vvq",
        "https://nvd.nist.gov/vuln/detail/CVE-2024-47884",
        "https://github.com/zefr0x/foxmarks/commit/c3706bd882b3d61b353e4193f7d2dcfabd0c9a8e"
      ],
      "provider_metadata": {
        "cwe_ids": [
          "CWE-378"
        ],
        "cna_assigner": "GitHub_M",
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/47xxx/CVE-2024-47884.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2024-47884",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 493787,
  "published_at": "2024-10-11T19:15:12.257+00:00"
}