VDB
EN
HIGH

GHSA-7f92-rr6w-cq64

Storage corruption due to variables overwritten by re-entrancy locks

상세

### Background When attempting to use the v0.2.14 release, @pandadefi discovered an issue using the `@nonreentrant` decorator.

### Impact Reentrancy protection storage slots get allocated to the same slots as storage variables, leading to the corruption of storage variables when using the `@nonreentrant` decorator.

### Patches This issue was fixed in v0.2.15 in #2391, #2379

### Workarounds Don't use the `@nonreentrant` decorator in these versions.

이 버전이 영향받나요?

사용 중인 패키지 버전을 입력하면 즉시 평가합니다.

영향 패키지

PyPI / vyper
최초 영향 버전: 0.2.13 수정 버전: 0.2.15
수정 pip install --upgrade 'vyper>=0.2.15'

참고