<?xml version='1.0' encoding='UTF-8'?>
<?xml-stylesheet href="/static/style.xsl" type="text/xsl"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
  <id>https://vulnerability.circl.lu/rss/recent/all/10</id>
  <title>Most recent entries from all</title>
  <updated>2026-10-04T18:24:07.828249+00:00</updated>
  <author>
    <name>Vulnerability-Lookup</name>
    <email>info@circl.lu</email>
  </author>
  <link href="https://vulnerability.circl.lu" rel="alternate"/>
  <generator uri="https://lkiesow.github.io/python-feedgen" version="1.0.0">python-feedgen</generator>
  <subtitle>Contains only the most 10 recent entries.</subtitle>
  <entry>
    <id>https://vulnerability.circl.lu/vuln/cve-2026-74878</id>
    <title>CVE-2026-74878 — openssl_encrypt before 1.4.0 TOTP Rate Limiter Bypass</title>
    <updated>2026-10-04T18:24:07.830605+00:00</updated>
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml"><p><strong>Affected:</strong> jahlives openssl_encrypt</p>
<p>openssl_encrypt versions before 1.4.0 use an in-memory rate limiter for TOTP brute-force protection that is not shared across workers and is lost on server restart. Attackers can distribute authentication attempts across multiple server instances or retry immediately after a restart to bypass rate limiting protections.</p></div>
    </content>
    <link href="https://vulnerability.circl.lu/vuln/cve-2026-74878"/>
  </entry>
  <entry>
    <id>https://vulnerability.circl.lu/vuln/ghsa-h45m-mgcp-q388</id>
    <title>GHSA-h45m-mgcp-q388 — openssl-encrypt: TOTP rate limiter is in-memory only — not shared across workers, lost on restart</title>
    <updated>2026-10-04T18:24:07.830716+00:00</updated>
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml"><p><strong>Affected:</strong> PyPI: openssl-encrypt</p>
<p>## Severity: HIGH</p>
<p>### Summary</p>
<p>The TOTP brute-force rate limiter in `openssl_encrypt_server/modules/pepper/totp.py` at **lines 47-98** uses an in-memory `defaultdict(list)` as a class variable.</p>
<p>### Affected Code</p>
<p>```python
class TOTPRateLimiter:
    def __init__(self, ...):
        self.attempts: Dict[str, List[datetime]] = defaultdict(list)
        self.lockouts: Dict[str, datetime] = {}</p>
<p>class TOTPService:
    _rate_limiter = TOTPRateLimiter()  # Class variable, in-memory only
```</p>
<p>### Impact</p>
<p>1. Rate limit state is **not shared** across multiple server instances/workers — an attacker can distribute attempts
2. All rate limit state is **lost on server restart** — allows immediate retry
3. In multi-worker deployments, each worker has independent rate limit state</p>
<p>### Recommended Fix</p>
<p>- Use Redis or the database for rate limit state storage
- Or use a shared-memory approach for multi-worker deployments
- At minimum, persist lockout state to survive restarts</p>
<p>### Fix</p>
<p>Fixed in commit `2749bc0` on branch `releases/1.4.x` — added abstract RateLimitBackend with InMemoryBackend and DatabaseBackend implementations; defaults to DatabaseBackend when DB available.</p></div>
    </content>
    <link href="https://vulnerability.circl.lu/vuln/ghsa-h45m-mgcp-q388"/>
  </entry>
</feed>
