Lucene search
+L

2 matches found

Github Security Blog
Github Security Blog
added 2023/04/07 7:23 p.m.20 views

ntru-rs has unsound FFI: Wrong API usage causes write past allocated area

The following usage causes undefined behavior. rust let kp: ntru::types::KeyPair = …; kp.getpublic.exportDefault::default When compiled with debug assertions, the code above will trigger a attempt to subtract with overflow panic before UB occurs. Other mistakes e.g. using EncParams from a differe...

6.8AI score
SaveExploits0References3Affected Software1
OSV
OSV
added 2023/04/07 7:23 p.m.16 views

GHSA-FQ33-VMHV-48XH ntru-rs has unsound FFI: Wrong API usage causes write past allocated area

The following usage causes undefined behavior. rust let kp: ntru::types::KeyPair = …; kp.getpublic.exportDefault::default When compiled with debug assertions, the code above will trigger a attempt to subtract with overflow panic before UB occurs. Other mistakes e.g. using EncParams from a differe...

7.2AI score
SaveExploits0References3
Rows per page
Query Builder