Skip to content

CWE 252 vulnerability detected in external_commit_helper.cpp #8802

@nicjohnson

Description

@nicjohnson

How frequently does the bug occur?

Always

Description

While scanning our repo, Veracode has detected a vulnerability in realm-core/src/realm/object-store/impl/apple/external_commit_helper.cpp on line 64 in the _ZN5realm5_impl20ExternalCommitHelper8FdHolder5closeEv function.

See the CWE for more detail: https://cwe.mitre.org/data/definitions/252.html

Stacktrace & log output

Can you reproduce the bug?

Always

Reproduction Steps

  1. Run a vulnerability scan in Veracode.

Version

v10.54.6

What Atlas Services are you using?

Local Database only

Are you using encryption?

Yes

Platform OS and version(s)

iOS 26.0.1

Build environment

No response

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions