title: Apache Doris: Possible race condition
description: Possible race condition vulnerability in Apache Doris.
Some of code using `chmod()` method. This method run the risk of someone renaming the file out from under user and chmodding the wrong file.
This could theoretically happen, but the impact would be minimal.
This issue affects Apache Doris: before 1.2.8, before 2.0.4.
Users are recommended to upgrade to version 2.0.4, which fixes the issue.
problem types: CWE-362: Possible race condition
affected:
{
defaultStatus: unaffected
product: Apache Doris
vendor: Apache Software Foundation
versions:
lessThan: 1.2.8, status: affected, version: 0, versionType: semver
lessThan: 2.0.4, status: affected, version: 0, versionType: semver
}
metrics:
other: [
content: {'text': 'low'}
type: Textual description of severity
]