<?xml version='1.0' encoding='UTF-8'?>
<?xml-stylesheet href="/static/style.xsl" type="text/xsl"?>
<rss xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/" version="2.0">
  <channel>
    <title>Most recent entries from all</title>
    <link>https://db.gcve.eu</link>
    <description>Contains only the most 10 recent entries.</description>
    <docs>http://www.rssboard.org/rss-specification</docs>
    <generator>python-feedgen</generator>
    <language>en</language>
    <lastBuildDate>Mon, 28 Sep 2026 17:24:33 +0000</lastBuildDate>
    <item>
      <title>fkie_cve-2026-48154</title>
      <link>https://db.gcve.eu/vuln/fkie_cve-2026-48154</link>
      <description>&lt;p&gt;GoRest is a Golang starter kit built with the Gin framework for prototyping and developing RESTful APIs. In versions prior to 1.12.2 nMemorySecret2FA contains a race condition due to an unsynchronized package-level map used to store 2FA secrets. Multiple HTTP handlers in handler/login.go and handler/twoFA.go read from and write to this map concurrently, and because Go&amp;#39;s runtime treats unsynchronized concurrent map access as an unrecoverable fatal error, an attacker can repeatedly trigger this condition to crash the process on demand. This results in high, repeatable availability impact with no confidentiality or integrity consequences. This issue has been fixed in version 1.12.2.&lt;/p&gt;</description>
      <content:encoded>&lt;p&gt;GoRest is a Golang starter kit built with the Gin framework for prototyping and developing RESTful APIs. In versions prior to 1.12.2 nMemorySecret2FA contains a race condition due to an unsynchronized package-level map used to store 2FA secrets. Multiple HTTP handlers in handler/login.go and handler/twoFA.go read from and write to this map concurrently, and because Go&amp;#39;s runtime treats unsynchronized concurrent map access as an unrecoverable fatal error, an attacker can repeatedly trigger this condition to crash the process on demand. This results in high, repeatable availability impact with no confidentiality or integrity consequences. This issue has been fixed in version 1.12.2.&lt;/p&gt;</content:encoded>
      <guid isPermaLink="false">https://db.gcve.eu/vuln/fkie_cve-2026-48154</guid>
    </item>
    <item>
      <title>GHSA-cpwg-x64r-rgwg — gorest InMemorySecret2FA race condition allows process crash via concurrent map access (CWE-362)</title>
      <link>https://db.gcve.eu/vuln/ghsa-cpwg-x64r-rgwg</link>
      <description>&lt;p&gt;&lt;strong&gt;Affected:&lt;/strong&gt; Go: github.com/pilinux/gorest&lt;/p&gt;
&lt;p&gt;## Vulnerability: CWE-362 — Concurrent Map Access Race Condition in InMemorySecret2FA&lt;/p&gt;
&lt;p&gt;**CWE:** CWE-362 (Concurrent Execution using Shared Resource with Improper Synchronization)&lt;/p&gt;
&lt;p&gt;### Affected Component
- `github.com/pilinux/gorest` — Go REST API boilerplate
- InMemorySecret2FA — in-memory 2FA secret store&lt;/p&gt;
&lt;p&gt;### Vulnerability Locations&lt;/p&gt;
&lt;p&gt;| File | Line | Role |
|------|------|------|
| `database/model/twoFA.go` | 43 | Global `map[uint64]Secret2FA` — bare map, no sync.RWMutex |
| `handler/login.go` | 139 | Map write during user login |
| `handler/twoFA.go` | 205 | Map write during 2FA setup |
| `handler/twoFA.go` | 272 | Map write during 2FA activation |
| `handler/twoFA.go` | 575 | Map write during 2FA verification |
| `handler/twoFA.go` | 189 | Map read during 2FA operations |
| `handler/twoFA.go` | 245 | Map read during 2FA operations |
| `handler/twoFA.go` | 491 | Map read during 2FA operations |
| `service/common.go` | 79 | Map delete |&lt;/p&gt;
&lt;p&gt;### Data Flow&lt;/p&gt;
&lt;p&gt;```
Multiple HTTP goroutines (concurrent requests)
    │
    ├── handler/login.go:139 ─► map write ──┐
    ├── handler/twoFA.go:205 ─► map write ──┼── InMemorySecret2FA (bare map)
    ├── handler/twoFA.go:189 ─► map read ───┤      ▲  NO sync.RWMutex
    ├── handler/twoFA.go:245 ─► map read ───┤      │
    ├── handler/twoFA.go:491 ─► map read ───┤      │
    └── service/common.go:79 ─► map delete ─┘      │
                                                   │
            Go runtime detects concurrent map      │
            read…&lt;/p&gt;</description>
      <content:encoded>&lt;p&gt;&lt;strong&gt;Affected:&lt;/strong&gt; Go: github.com/pilinux/gorest&lt;/p&gt;
&lt;p&gt;## Vulnerability: CWE-362 — Concurrent Map Access Race Condition in InMemorySecret2FA&lt;/p&gt;
&lt;p&gt;**CWE:** CWE-362 (Concurrent Execution using Shared Resource with Improper Synchronization)&lt;/p&gt;
&lt;p&gt;### Affected Component
- `github.com/pilinux/gorest` — Go REST API boilerplate
- InMemorySecret2FA — in-memory 2FA secret store&lt;/p&gt;
&lt;p&gt;### Vulnerability Locations&lt;/p&gt;
&lt;p&gt;| File | Line | Role |
|------|------|------|
| `database/model/twoFA.go` | 43 | Global `map[uint64]Secret2FA` — bare map, no sync.RWMutex |
| `handler/login.go` | 139 | Map write during user login |
| `handler/twoFA.go` | 205 | Map write during 2FA setup |
| `handler/twoFA.go` | 272 | Map write during 2FA activation |
| `handler/twoFA.go` | 575 | Map write during 2FA verification |
| `handler/twoFA.go` | 189 | Map read during 2FA operations |
| `handler/twoFA.go` | 245 | Map read during 2FA operations |
| `handler/twoFA.go` | 491 | Map read during 2FA operations |
| `service/common.go` | 79 | Map delete |&lt;/p&gt;
&lt;p&gt;### Data Flow&lt;/p&gt;
&lt;p&gt;```
Multiple HTTP goroutines (concurrent requests)
    │
    ├── handler/login.go:139 ─► map write ──┐
    ├── handler/twoFA.go:205 ─► map write ──┼── InMemorySecret2FA (bare map)
    ├── handler/twoFA.go:189 ─► map read ───┤      ▲  NO sync.RWMutex
    ├── handler/twoFA.go:245 ─► map read ───┤      │
    ├── handler/twoFA.go:491 ─► map read ───┤      │
    └── service/common.go:79 ─► map delete ─┘      │
                                                   │
            Go runtime detects concurrent map      │
            read…&lt;/p&gt;</content:encoded>
      <guid isPermaLink="false">https://db.gcve.eu/vuln/ghsa-cpwg-x64r-rgwg</guid>
    </item>
  </channel>
</rss>
