Skip to content

Sha1 runtime insecure change was incomplete #983

@bleve

Description

@bleve

System to reproduce the error: fedora 39 VM, unbound-1.19.0-1.fc39.x86_64

Change crypto policy to FUTURE removing sha1 from supported encryption algoritms.

update-crypto-policies --set FUTURE

That sets about same crypto policy as CentOS Stream 9 / RHEL9

Now verification of RSASHA1 signatures causes insecure responses like expected.

But current code doesn't handle RSASHA1-NSEC3-SHA1, so for example dig nvd.nist.gov aaaa query fails with NXDOMAIN. Expected response would be insecure one, not verification failure.

fedora39.log.gz

Same error can be produced on CentOS Stream 9 by building unbound-1.19.0 with sha1 enabled (centos/rhel package build with --disable-sha1).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions