Skip to content

GEM-16216: Use secure temp directory for snapshot archive extraction#270

Merged
yozaner1324 merged 1 commit intosupport/10.1-3.3-1.0.xfrom
GEM-16216-10.1-3.3-1.0
Mar 12, 2026
Merged

GEM-16216: Use secure temp directory for snapshot archive extraction#270
yozaner1324 merged 1 commit intosupport/10.1-3.3-1.0.xfrom
GEM-16216-10.1-3.3-1.0

Conversation

@yozaner1324
Copy link
Copy Markdown
Contributor

Replace insecure mkdirs() with Files.createTempDirectory() to ensure the temporary directory used for archive extraction has owner-only permissions (700), preventing other system users from reading sensitive snapshot data. Also use Files.newOutputStream() for extracted files.

ai-assisted=yes

Replace insecure mkdirs() with Files.createTempDirectory() to ensure
the temporary directory used for archive extraction has owner-only
permissions (700), preventing other system users from reading sensitive
snapshot data. Also use Files.newOutputStream() for extracted files.

ai-assisted=yes
@yozaner1324 yozaner1324 merged commit 762c48f into support/10.1-3.3-1.0.x Mar 12, 2026
@yozaner1324 yozaner1324 deleted the GEM-16216-10.1-3.3-1.0 branch March 12, 2026 23:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants