Skip to content
This repository has been archived by the owner on Jan 9, 2025. It is now read-only.

bug: Underconstrained output in felt_to_bytes_little() allows contract deployments to incorrect addresses[1] #1563

Closed
obatirou opened this issue Oct 31, 2024 · 2 comments · Fixed by #1573
Assignees

Comments

@obatirou
Copy link
Collaborator

obatirou commented Oct 31, 2024

Bug Report

code-423n4/2024-09-kakarot-findings#118

Fix implementation

Check bytes_len do not exceed 31.

@github-project-automation github-project-automation bot moved this to 🆕 Backlog in Kakarot on Starknet Oct 31, 2024
@obatirou obatirou changed the title bug: Underconstrained output in felt_to_bytes_little() allows contract deployments to incorrect addresses bug: Underconstrained output in felt_to_bytes_little() allows contract deployments to incorrect addresses[1] Oct 31, 2024
@Pvsaint
Copy link

Pvsaint commented Oct 31, 2024

Hi, please let me handle this issue, as this would be my first open source contribution. I'm a fronted and smart contract developer, proficient in solidity and cairo languages.

@ShantelPeters

This comment was marked as abuse.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
No open projects
Status: ✅ Done
Development

Successfully merging a pull request may close this issue.

3 participants