{"action":"created","issue":{"url":"https://api.github.com/repos/magnumripper/JohnTheRipper/issues/1744","labels_url":"https://api.github.com/repos/magnumripper/JohnTheRipper/issues/1744/labels{/name}","comments_url":"https://api.github.com/repos/magnumripper/JohnTheRipper/issues/1744/comments","events_url":"https://api.github.com/repos/magnumripper/JohnTheRipper/issues/1744/events","html_url":"https://github.com/magnumripper/JohnTheRipper/issues/1744","id":105928277,"number":1744,"title":"Single-mode ASan segfault (in rules.c)","user":{"login":"magnumripper","id":1268598,"avatar_url":"https://avatars.githubusercontent.com/u/1268598?v=3","gravatar_id":"","url":"https://api.github.com/users/magnumripper","html_url":"https://github.com/magnumripper","followers_url":"https://api.github.com/users/magnumripper/followers","following_url":"https://api.github.com/users/magnumripper/following{/other_user}","gists_url":"https://api.github.com/users/magnumripper/gists{/gist_id}","starred_url":"https://api.github.com/users/magnumripper/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/magnumripper/subscriptions","organizations_url":"https://api.github.com/users/magnumripper/orgs","repos_url":"https://api.github.com/users/magnumripper/repos","events_url":"https://api.github.com/users/magnumripper/events{/privacy}","received_events_url":"https://api.github.com/users/magnumripper/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/magnumripper/JohnTheRipper/labels/bug","name":"bug","color":"e11d21"}],"state":"open","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/magnumripper/JohnTheRipper/milestones/2","html_url":"https://github.com/magnumripper/JohnTheRipper/milestones/1.8.0-jumbo-2","labels_url":"https://api.github.com/repos/magnumripper/JohnTheRipper/milestones/2/labels","id":492145,"number":2,"title":"1.8.0-jumbo-2","description":"Please assign ALL issues which should be in J2 to this milestone, and lets push forward in fixing all of them.","creator":{"login":"magnumripper","id":1268598,"avatar_url":"https://avatars.githubusercontent.com/u/1268598?v=3","gravatar_id":"","url":"https://api.github.com/users/magnumripper","html_url":"https://github.com/magnumripper","followers_url":"https://api.github.com/users/magnumripper/followers","following_url":"https://api.github.com/users/magnumripper/following{/other_user}","gists_url":"https://api.github.com/users/magnumripper/gists{/gist_id}","starred_url":"https://api.github.com/users/magnumripper/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/magnumripper/subscriptions","organizations_url":"https://api.github.com/users/magnumripper/orgs","repos_url":"https://api.github.com/users/magnumripper/repos","events_url":"https://api.github.com/users/magnumripper/events{/privacy}","received_events_url":"https://api.github.com/users/magnumripper/received_events","type":"User","site_admin":false},"open_issues":76,"closed_issues":152,"state":"open","created_at":"2013-11-21T06:59:25Z","updated_at":"2015-09-11T14:41:17Z","due_on":null,"closed_at":null},"comments":6,"created_at":"2015-09-11T01:23:46Z","updated_at":"2015-09-11T20:37:48Z","closed_at":null,"body":"```\r\n$ cat test.in\r\nABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyzABCDEF:@dynamic=md4($s.$p)@f3ccd788277509feff0a5cac743d8920$85b68792\r\n\r\n$ ../run/john -form:dynamic='md4($s.$p)' test.in\r\nUsing default input encoding: UTF-8\r\nLoaded 1 password hash (dynamic=md4($s.$p) [128/128 AVX 4x3])\r\nWarning: no OpenMP support for this hash type, consider --fork=8\r\n=================================================================\r\n==24220==ERROR: AddressSanitizer: stack-buffer-overflow on address 0x7fff5ab28521 at pc 0x00010620f348 bp 0x7fff5ab28420 sp 0x7fff5ab27bd0\r\nREAD of size 255 at 0x7fff5ab28521 thread T0\r\n    #1 0x10562ea08 in rules_apply rules.c:1895\r\n    #2 0x105630050 in rules_reject rules.c:1306\r\n    #3 0x1056302c5 in rules_check rules.c:2072\r\n    #4 0x10563079c in rules_count rules.c:2250\r\n    #5 0x105631f06 in single_init single.c:136\r\n    #6 0x105634489 in do_single_crack single.c:537\r\n    #7 0x1055cec9c in do_single_pass batch.c:26\r\n    #8 0x1055cee03 in do_batch_crack batch.c:52\r\n    #9 0x1055fe812 in john_run john.c:1599\r\n    #10 0x1055ff3d6 in main john.c:1857\r\n    #11 0x7fff8a49b5c8 in start (in libdyld.dylib) + 0\r\n    #12 0x2  (<unknown module>)\r\n\r\nAddress 0x7fff5ab28521 is located in stack of thread T0 at offset 161 in frame\r\n    #0 0x10562a78d  (/Users/magnum/src/john/src/../run/john+0x10055678d)\r\n\r\n  This frame has 1 object(s):\r\n    [32, 161) 'cpword' <== Memory access at offset 161 overflows this variable\r\nHINT: this may be a false positive if your program uses some custom stack unwind mechanism or swapcontext\r\n      (longjmp and C++ exceptions *are* supported)\r\nSUMMARY: AddressSanitizer: stack-buffer-overflow ??:0 ??\r\nShadow bytes around the buggy address:\r\n  0x1fffeb565050: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00\r\n  0x1fffeb565060: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00\r\n  0x1fffeb565070: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00\r\n  0x1fffeb565080: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00\r\n  0x1fffeb565090: f1 f1 f1 f1 00 00 00 00 00 00 00 00 00 00 00 00\r\n=>0x1fffeb5650a0: 00 00 00 00[01]f4 f4 f4 f3 f3 f3 f3 00 00 00 00\r\n  0x1fffeb5650b0: 00 00 00 00 00 00 00 00 00 00 00 00 f1 f1 f1 f1\r\n  0x1fffeb5650c0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00\r\n  0x1fffeb5650d0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00\r\n  0x1fffeb5650e0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00\r\n  0x1fffeb5650f0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00\r\nShadow byte legend (one shadow byte represents 8 application bytes):\r\n  Addressable:           00\r\n  Partially addressable: 01 02 03 04 05 06 07 \r\n  Heap left redzone:       fa\r\n  Heap right redzone:      fb\r\n  Freed heap region:       fd\r\n  Stack left redzone:      f1\r\n  Stack mid redzone:       f2\r\n  Stack right redzone:     f3\r\n  Stack partial redzone:   f4\r\n  Stack after return:      f5\r\n  Stack use after scope:   f8\r\n  Global redzone:          f9\r\n  Global init order:       f6\r\n  Poisoned by user:        f7\r\n  Container overflow:      fc\r\n  Array cookie:            ac\r\n  Intra object redzone:    bb\r\n  ASan internal:           fe\r\n==24220==ABORTING\r\n```\r\nNote: It's only a read, not necessarily a real problem."},"comment":{"url":"https://api.github.com/repos/magnumripper/JohnTheRipper/issues/comments/139656236","html_url":"https://github.com/magnumripper/JohnTheRipper/issues/1744#issuecomment-139656236","issue_url":"https://api.github.com/repos/magnumripper/JohnTheRipper/issues/1744","id":139656236,"user":{"login":"magnumripper","id":1268598,"avatar_url":"https://avatars.githubusercontent.com/u/1268598?v=3","gravatar_id":"","url":"https://api.github.com/users/magnumripper","html_url":"https://github.com/magnumripper","followers_url":"https://api.github.com/users/magnumripper/followers","following_url":"https://api.github.com/users/magnumripper/following{/other_user}","gists_url":"https://api.github.com/users/magnumripper/gists{/gist_id}","starred_url":"https://api.github.com/users/magnumripper/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/magnumripper/subscriptions","organizations_url":"https://api.github.com/users/magnumripper/orgs","repos_url":"https://api.github.com/users/magnumripper/repos","events_url":"https://api.github.com/users/magnumripper/events{/privacy}","received_events_url":"https://api.github.com/users/magnumripper/received_events","type":"User","site_admin":false},"created_at":"2015-09-11T20:37:48Z","updated_at":"2015-09-11T20:37:48Z","body":"That would be the 'master' branch"}}