Security Resilience

CVE-2023-40349

Jenkins Gogs ≤ 1.0.15

Published
16 August 2023
Modified
21 November 2024
Patch / advisory
CVSS Score v3.1 5.3
Click a component to see what it means
Raw vectorCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N
EPSS Score 0.0068 51th percentile
Risk Priority 45 floored blend · peak EPSS

CVSS and EPSS are reproduced from their sources (NVD, FIRST EPSS). Risk Priority is our own derived reading, not an NVD score.

Summary

CVE-2023-40349 is a medium-severity Improper Initialization (CWE-665) vulnerability in Jenkins Gogs. Its CVSS base score is 5.3 (Medium).

Operationally, ranked in the top 49% of CVEs by exploit likelihood; it is not currently listed in the CISA KEV catalog.

EU & UK References

Vulnerability Data

Jenkins Gogs Plugin 1.0.15 and earlier improperly initializes an option to secure its webhook endpoint, allowing unauthenticated attackers to trigger builds of jobs.

CWE(s)

Related Threats

CVEs Like This One

CVE-2023-40348Same product: Jenkins Gogs
CVE-2023-46657Same product: Jenkins Gogs
CVE-2023-30530Same vendor: Jenkins
CVE-2025-67642Same vendor: Jenkins
CVE-2023-30517Same vendor: Jenkins
CVE-2023-30514Same vendor: Jenkins
CVE-2025-53678Same vendor: Jenkins
CVE-2023-37959Same vendor: Jenkins
CVE-2023-4302Same vendor: Jenkins
CVE-2024-28160Same vendor: Jenkins

Affected Assets

jenkins
gogs
≤ 1.0.15

Mitigating Controls

Likely Mitigating Controls AI

Per-CVE control mapping for this CVE has not run yet; the list below is derived from the weakness types (CWEs) cited in the NVD entry.

addresses: CWE-665

Ensures shared resources are explicitly initialized or cleared on allocation, preventing exposure of prior contents to new users or processes.

addresses: CWE-665

Mandates that every instance begins in a known (presumably clean) state, eliminating reliance on residual or uninitialized state left by prior executions.

Mitigating Controls (ISO/IEC 27001:2022 Annex A) AI

Derived directly from the weakness types (CWEs) cited in the NVD entry via our AI-authored CWE→ISO cross-walk (authority under review) — links open the control.

blocks

A.8.25 mandates security requirements, checkpoints, secure coding, testing and developer capability in the SDLC which reaches improper initialization as a design/coding defect, but leaves a bounded remainder (e.g. initialization of third-party components or libraries chosen in procurement, and post-deployment configuration defaults).

blocks

A.8.27 mandates security-by-design principles (least privilege, default-deny, fail-securely, distrust-external-input, hardening) plus explicit design reviews that can catch and block many uninitialized-resource cases before they ship, but leaves a bounded remainder (e.g. vendor libraries, runtime-initialization bugs, or post-review code changes) that can still be present and exploitable.

prevents

Secure coding standards explicitly forbid uninitialized variables and mandate proper resource initialization before use.

finds

Security testing can detect uninitialized variables but does not itself enforce initialization practices.

blocks

defining, enforcing, and monitoring secure configuration templates (including defaults, disabled services, changed vendor passwords, minimized privileges) directly stops most improper-initialization cases from being exploitable; the bounded remainder is initialization logic inside custom application code that no configuration template reaches

Hardening callouts derived

DISA STIG baselines are authored against specific weaknesses. Where this CVE cites a broad weakness class, the mapping is not asserted at that abstraction (owner ruling, 2026-09-25: grade only at Base and below), so no rule is shown here rather than a rule shown against the wrong grain.

  • No fine-grained STIG row for CWE-665, a class-level weakness. Rules are authored against its narrower children: CWE-770.

References