Cloudanix VulnDB

CVE-2023-30410

Medium · 5.5

CVSS

5.5

EPSS

0.3%

Published

Apr 24, 2023

CISA due date

—

Cloudanix analysis

Monitor only SSVC: Track

A problem in the software can make it suddenly stop working when it processes certain internal operations, causing downtime until fixed.

Exploit Available
Exploitation
Requires User Interaction
Attacker needs
User Interaction
Complexity
Low
Impact
Denial Of Service
Component
Library
Class
Memory Corruption
Remediation
Upgrade
Effort
Medium
Patch risk
Low

What it actually does

Stack overflow in ecma_op_function_construct leads to application crash via uncontrolled recursion or excessive stack allocation during function object construction.

Why it matters to the business

Local users can trigger denial of service by causing the application to crash, interrupting availability of services that depend on the affected component; the low exploitability and lack of remote vector limit widespread operational disruption.

How an attack unfolds

An attacker with local access supplies crafted input that reaches the ecma_op_function_construct path, overflowing the stack and crashing the process; no remote code execution or privilege escalation is indicated by the flaw details.

How to fix it

Upgrade gogs/gogs (GIT) to commit 38aff73251cc46ced96dd608dab6190415032a82 or later; rebuild from the patched source and redeploy the updated binary.

How to confirm the fix worked

Confirm the running binary or source tree contains commit 38aff73251cc46ced96dd608dab6190415032a82; attempt reproduction of the stack overflow with the original triggering input to verify the crash is no longer possible.

Typical attack path

  1. Obtain local access to a system running the vulnerable software
  2. Craft input that exercises function construction in the affected component
  3. Trigger the stack overflow to induce a crash

How to detect it

Search application and system logs for unexpected process terminations or stack overflow signals around the time of function construction operations; correlate with local user activity that exercises the affected code path.

What your security team should do

  • Apply the fixed commit immediately to eliminate the crash vector
  • Monitor for local crash reports in application logs as a temporary detection measure
  • Review local access controls to reduce the attack surface for memory-corruption issues

The record

Jerryscript commit 1a2c047 was discovered to contain a stack overflow via the component ecma_op_function_construct at /operations/ecma-function-object.c.

Affected packages

Ecosystem Package Introduced Fixed
Ubuntu:18.04:LTS iotjs 0 No fix
Ubuntu:22.04:LTS iotjs 0 No fix
Ubuntu:Pro:18.04:LTS iotjs 0 No fix

Related vulnerabilities