Borehole · Project · free tier
apache/doris
Free reading: not for reliance
1bb3537 · 32,761 commits · 43,573 files
Read 2026-10-23

apache/doris: technical due diligence, read from its repository

What Borehole read in apache/doris's code and history at 1bb3537: its licence, security advisories, releases, review practice, tests, dependencies and operations. Every finding cites the file and line it rests on. The full report also covers the team and asks the questions the code cannot answer.

DimensionRating
Architecture & Codebase — including AI provenancestrong
Engineering Process & SDLC Maturityadequate
Product & Engineering Maturitystrong
Security & Reliability Postureadequate
Observability & Operationsstrong
Fit with the Acquirernot assessable

What the repository says

  • Releases are cut from another branch than the one surveyed

Architecture & Codebase — including AI provenance

strong
01.6

fe/fe-core/src/main/java/org/apache/doris/nereids/parser/LogicalPlanBuilder.java is 10,389 lines, 88× this codebase's median file

adequate

The median source file here is 118 lines. 208 files exceed 1,180 lines, the largest being 10,389. Size is not a defect on its own — some problems genuinely live in one place — but these are where merge conflicts, review fatigue and single-owner knowledge concentrate, and they are the first thing that slows an inheriting engineer down.

Engineering Process & SDLC Maturity

adequate
02.24

5% of recent commits change more than 2,000 lines

adequate

498 of 9715 commits in the last 24 months changed over 2,000 lines of code, not counting reformatting, renames, vendored or generated code. A change that size is rarely reviewed line by line. Ask how they were reviewed, and what made them that large.

Evidence
498 commits over 2,000 lines

Product & Engineering Maturity

strong
04.38

32 files still carry code deprecated more than two years ago

adequate

32 files were marked deprecated over two years ago and still are, the oldest since Feb 2023. A deprecation is a promise to remove. Ask what still depends on these, and whether removing them is scheduled.

04.62

Releases are cut from another branch than the one surveyed

adequate

The newest release, 4.1.4, is not on the branch this survey read; the newest release on it is v0.8.2. The shipped product may differ from what this report describes. Survey the release branch too.

Evidence
tag 4.1.4

Security & Reliability Posture

adequate
05.6

8 Dockerfiles run the application as root

adequate

No USER instruction switches away from root, so the process runs with full privileges inside the container. It is a one-line fix and an ordinary expectation, which is why its absence is worth asking about: it usually says more about whether anyone has reviewed the deployment than about this container specifically.

05.27

The build runs third-party code it does not pin

adequate

2 third-party CI actions are referenced by a tag or branch rather than a commit, so they run whatever that tag points to on the day; 1 step pipes a download straight into a shell. Tags have been moved to malicious commits in real supply-chain attacks, and a piped script is whatever the server returns that minute. Pinning to a commit is the fix, and it is small.

Evidence
.github/workflows/comment-to-trigger-teamcity.yml:274 — action pinned by tag
.github/workflows/license-eyes.yml:125 — action pinned by tag
docker/thirdparties/run-thirdparties-docker.sh:1557 — download piped into a shell
05.20

12 SQL statements built from strings

adequate

12 places in product code build SQL by formatting or joining strings rather than passing parameters. 1 of them put a value into the string; in the rest, what the code shows going in is a table or column name, a constant, or something the line does not show. Ask whether any value reaches these strings, rather than a parameter.

05.22

4 deserialisers that can run code

adequate

4 places read data with a deserialiser that executes what it reads (pickle, Java object streams). That is safe on data the system wrote itself and remote code execution on anything else. Ask where each one's input comes from.

05.26

15 locked dependencies have published vulnerabilities, 28 high or critical

adequate

15 of 286 locked dependencies match 64 published advisories in OSV, 28 of them rated high or critical. A lockfile says which version is installed, not whether the flawed code is reachable from this product, so each needs a look. Most are fixed by an upgrade, and the advisory names the version. None of the high or critical ones is in what the product ships: some are pinned to a commit or a branch. This lockfile pins development tools alongside what ships and does not say which is which, so some of these may never reach a user.

Evidence
extension/beats/go.mod — golang.org/x/crypto v0.0.0-20210616213533-5ff15b29337e: GHSA-5cgq-3rg8-m6cv (critical); pinned to a commit or a branch, so whether it has the fix needs the dependency's own source
extension/beats/go.mod — google.golang.org/grpc v1.41.0: GHSA-p77j-4mvh-x3m3 (critical), fixed in 1.79.3
extension/beats/go.mod — github.com/containerd/containerd v1.5.7: GHSA-crp2-qrr5-8pq7 (high), fixed in 1.5.10
05.65

9 advisories against this project in the last 24 months, 4 high or critical

adequate

The newest was published on 2026-09-23. A project that publishes advisories is telling its users about its fixes, and the count and pace say how much security work it carries. Whether 9 of them are fixed in the code you ship could not be told from this history: its version is only known to be at least 0.8.2. Answer lives in: the release you run, set against each fixed version. The record is incomplete: NVD: 1 record names doris with nothing tying it to this repository (CVE-2026-111692).

Evidence
2026-09-23: CVE-2026-31377 (high): An Improper Authentication vulnerability in the Apache Doris Frontend (FE) meta service allows an unauthenticated remote attacker to access internal metadata se
2026-09-23: CVE-2026-96443 (moderate): Insufficient validation of the JDBC driver URL in Apache Doris allows a privileged user to achieve remote code execution on the FE.
2026-09-14: CVE-2026-68570 (moderate): Incorrect Authorization vulnerability in Apache Doris allows an authenticated user to bypass privilege checks and access data they are not authorized to read, r
2026-09-14: CVE-2026-72524 (high): Incorrect Authorization vulnerability in Apache Doris allows an authenticated user to bypass privilege checks and access or modify data they are not authorized
2026-07-14: CVE-2026-58319 (critical): Certain Apache Doris FE HTTP REST administrative APIs were accessible without proper authentication. An unauthenticated attacker with network access to the FE H

Observability & Operations

strong
06.9

No error reporter is wired in

adequate

Nothing in the service initialises an error reporter (Sentry, Rollbar, Bugsnag, Honeybadger or an APM agent). An exception in production reaches a person only if someone is reading the logs, which usually means a customer reports it first.

Evidence
no error reporter initialised

Fit with the Acquirer

not assessable

Not rated: structurally not assessable from a repository.

Read more, or read your own

The full report on apache/doris: every dimension, the questions for the room, and the audit log.

Survey a repository: free on public repositories. Private code is read on your own machine by a collector whose source you can read first.