From 9ab574069cd7243be8ee72252e973c19dc36b653 Mon Sep 17 00:00:00 2001 From: github-actions Date: Sun, 4 Jan 2026 20:34:36 +0000 Subject: [PATCH] Update gh-pages --- advisories/RUSTSEC-2025-0139.html | 282 +++++++++ advisories/RUSTSEC-2025-0140.html | 206 +++++++ advisories/index.html | 38 ++ categories/code-execution.html | 19 + categories/memory-corruption.html | 19 + categories/privilege-escalation.html | 19 + feed.xml | 826 ++++++++++++--------------- js/index.js | 4 +- keywords/index.html | 15 + keywords/lpe.html | 90 +++ keywords/pyo3.html | 90 +++ keywords/undefined-behavior.html | 19 + keywords/utf8.html | 90 +++ packages/gix-date.html | 90 +++ packages/gix-date.json | 69 +++ packages/index.html | 12 + packages/theshit.html | 90 +++ packages/theshit.json | 82 +++ 18 files changed, 1607 insertions(+), 453 deletions(-) create mode 100644 advisories/RUSTSEC-2025-0139.html create mode 100644 advisories/RUSTSEC-2025-0140.html create mode 100644 keywords/lpe.html create mode 100644 keywords/pyo3.html create mode 100644 keywords/utf8.html create mode 100644 packages/gix-date.html create mode 100644 packages/gix-date.json create mode 100644 packages/theshit.html create mode 100644 packages/theshit.json diff --git a/advisories/RUSTSEC-2025-0139.html b/advisories/RUSTSEC-2025-0139.html new file mode 100644 index 000000000..09e21aa40 --- /dev/null +++ b/advisories/RUSTSEC-2025-0139.html @@ -0,0 +1,282 @@ + + + + + + + +RUSTSEC-2025-0139: theshit: theshit vulnerable to unsafe loading of user-owned Python rules when running as root › RustSec Advisory Database + + + + + + + + + +
+
+

+ + + +
+ +
+ +
+
+ + + History ⋅ + Edit ⋅ + JSON (OSV) + + + +
+

+ + RUSTSEC-2025-0139 + +

+

theshit vulnerable to unsafe loading of user-owned Python rules when running as root

+
+
+ + + +
+
Reported
+
+ +
+ +
Issued
+
+ + +
+ +
Package
+
+ + + theshit + (crates.io) + + +
+ +
Type
+
+ + Vulnerability + +
+ + +
Categories
+
+ +
+ + + +
Keywords
+
+ + #pyo3 + + #lpe + +
+ + + +
Aliases
+
+ +
+ + + +
References
+
+ +
+ + + + + +
CVSS Score
+
7.3 + HIGH +
+ +
CVSS Details
+
+
+ +
Attack Vector
+
Local
+ +
Attack Complexity
+
Low
+ +
Privileges Required
+
Low
+ +
User Interaction
+
Required
+ +
Scope
+
Unchanged
+ +
Confidentiality Impact
+
High
+ +
Integrity Impact
+
High
+ +
Availability Impact
+
High
+ +
+
+ +
CVSS Vector
+ + +
CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H
+ + + + +
Patched
+
+ +
    + +
  • >=0.1.1
  • + +
+ +
+ + + + + + + + +
+ + + +
+
Affected Functions
+
Version
+ +
theshit::fix::python::process_python_rules
+
+
    + +
  • <0.1.1
  • + +
+
+ +
+ + + + +

Description

+

The application loads custom Python rules and configuration files from user-writable locations (e.g., ~/.config/theshit/) without validating ownership or permissions when executed with elevated privileges.

+

If the tool is invoked with sudo or otherwise runs with an effective UID of root, it continues to trust configuration files originating from the unprivileged user's environment. This allows a local attacker to inject arbitrary Python code via a malicious rule or configuration file, which is then executed with root privileges.

+

The patch introduces strict ownership and permission checks for all configuration files and custom rules. The application now enforces that rules are only loaded if they are owned by the effective user executing the tool.

+

When executed with elevated privileges (EUID=0), the application refuses to load any files that are not owned by root or that are writable by non-root users. When executed as a non-root user, it similarly refuses to load rules owned by other users. This prevents both vertical and horizontal privilege escalation via execution of untrusted code.

+ + +

Advisory available under CC-BY-4.0 + license. + + + + + Source: https://github.com/advisories/GHSA-95qg-89c2-w5hj + + +

+
+
diff --git a/advisories/RUSTSEC-2025-0140.html b/advisories/RUSTSEC-2025-0140.html new file mode 100644 index 000000000..f1788b8de --- /dev/null +++ b/advisories/RUSTSEC-2025-0140.html @@ -0,0 +1,206 @@ + + + + + + + +RUSTSEC-2025-0140: gix-date: Non-utf8 String can be created with `TimeBuf::as_str` › RustSec Advisory Database + + + + + + + + + +
+
+

+ + + +
+ +
+ +
+
+ + + History ⋅ + Edit ⋅ + JSON (OSV) + + + +
+

+ + RUSTSEC-2025-0140 + +

+

Non-utf8 String can be created with TimeBuf::as_str

+
+
+ + + +
+
Reported
+
+ +
+ +
Issued
+
+ + +
+ +
Package
+
+ + + gix-date + (crates.io) + + +
+ +
Type
+
+ + Vulnerability + +
+ + +
Categories
+
+ +
+ + + +
Keywords
+
+ + #utf8 + + #undefined-behavior + +
+ + + + + +
References
+
+ +
+ + + + + + + +
Patched
+
+ +
    + +
  • >=0.12.0
  • + +
+ +
+ + + + + + + + +
+ + + +
+
Affected Functions
+
Version
+ +
gix_date::parse::TimeBuf::as_str
+
+
    + +
  • <=0.11.1
  • + +
+
+ +
+ + + + +

Description

+

The function gix_date::parse::TimeBuf::as_str can create an illegal string containing non-utf8 characters. This violates the safety invariant of TimeBuf and can lead to undefined behavior when consuming the string.

+

The bug can be prevented by adding str::from_utf8 to the function TimeBuf::write.

+ + +

Advisory available under CC0-1.0 + license. + + +

+
+
diff --git a/advisories/index.html b/advisories/index.html index b8b8e9dc6..6e837951a 100644 --- a/advisories/index.html +++ b/advisories/index.html @@ -64,6 +64,44 @@