Skip to content

fix: block potential adversarial exploit of non-aborting assert! - #8560

Merged
leodemoura merged 2 commits into
masterfrom
pr_8559_for_expr_data
May 31, 2025
Merged

fix: block potential adversarial exploit of non-aborting assert!#8560
leodemoura merged 2 commits into
masterfrom
pr_8559_for_expr_data

Conversation

@leodemoura

Copy link
Copy Markdown
Member

This PR is similar to #8559 but for Expr.mkData. This vulnerability has not been exploited yet, but adversarial users may find a way.

@leodemoura leodemoura added the changelog-compiler Compiler, runtime, and FFI label May 31, 2025
@leodemoura
leodemoura enabled auto-merge May 31, 2025 02:53
@leodemoura
leodemoura added this pull request to the merge queue May 31, 2025
@github-actions github-actions Bot added the toolchain-available A toolchain is available for this PR, at leanprover/lean4-pr-releases:pr-release-NNNN label May 31, 2025
@ghost

ghost commented May 31, 2025

Copy link
Copy Markdown

Mathlib CI status (docs):

  • ❗ Batteries/Mathlib CI will not be attempted unless your PR branches off the nightly-with-mathlib branch. Try git rebase 6940d2c4ff7b3df698df032dcffe5b18e6f17c30 --onto 72141b05fd9a3328c1e5d99211dc4da4495cbd42. You can force Mathlib CI using the force-mathlib-ci label. (2025-05-31 03:21:17)

Merged via the queue into master with commit 837193b May 31, 2025
kim-em added a commit to kim-em/lean4lean that referenced this pull request Aug 2, 2026
leanprover/lean4#8554 is a closed PR, not an issue, and it proposed
saturating; the merged fixes are leanprover/lean4#8559 for `Level` and
leanprover/lean4#8560 for `Expr`, both of which abort. Rest the choice of
total extension on the abort semantics alone.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Y5K6isCtnCB86J8fRbVTKS
kim-em added a commit to kim-em/lean4lean that referenced this pull request Aug 3, 2026
leanprover/lean4#8554 is a closed PR, not an issue, and it proposed
saturating; the merged fixes are leanprover/lean4#8559 for `Level` and
leanprover/lean4#8560 for `Expr`, both of which abort. Rest the choice of
total extension on the abort semantics alone.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Y5K6isCtnCB86J8fRbVTKS
kim-em added a commit to kim-em/lean4lean that referenced this pull request Aug 4, 2026
leanprover/lean4#8554 is a closed PR, not an issue, and it proposed
saturating; the merged fixes are leanprover/lean4#8559 for `Level` and
leanprover/lean4#8560 for `Expr`, both of which abort. Rest the choice of
total extension on the abort semantics alone.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Y5K6isCtnCB86J8fRbVTKS
kim-em added a commit to kim-em/lean4lean that referenced this pull request Aug 6, 2026
leanprover/lean4#8554 is a closed PR, not an issue, and it proposed
saturating; the merged fixes are leanprover/lean4#8559 for `Level` and
leanprover/lean4#8560 for `Expr`, both of which abort. Rest the choice of
total extension on the abort semantics alone.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Y5K6isCtnCB86J8fRbVTKS
kim-em added a commit to kim-em/lean4lean that referenced this pull request Aug 12, 2026
leanprover/lean4#8554 is a closed PR, not an issue, and it proposed
saturating; the merged fixes are leanprover/lean4#8559 for `Level` and
leanprover/lean4#8560 for `Expr`, both of which abort. Rest the choice of
total extension on the abort semantics alone.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Y5K6isCtnCB86J8fRbVTKS
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

changelog-compiler Compiler, runtime, and FFI toolchain-available A toolchain is available for this PR, at leanprover/lean4-pr-releases:pr-release-NNNN

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant