GLIBC_2.33 not found - cannot find solution for this issue anyhere

I have following issue when I start neovim with a file that is of type python:

Error detected while processing FileType Autocommands for "*":
E5108: Error executing lua Failed to load parser: uv_dlopen: /snap/core18/current/lib/x86_64-linux-         gnu/libc.so.6: version `GLIBC_2.33' not found (requ
ired by /lib/x86_64-linux-gnu/libstdc++.so.6)

I am on following operating system:

Distributor ID: Ubuntu Description: Ubuntu 21.10 Release: 21.10 Codename: impish

Also when I run the following command I get following which says GLIBC is installed:

ldd --version ldd (Ubuntu GLIBC 2.34-0ubuntu3) 2.34 Copyright (C) 2021
Free Software Foundation, Inc. This is free software; see the source
for copying conditions. There is NO warranty; not even for
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. Written by Roland
McGrath and Ulrich Drepper.

How can I fix this error or resolve this issue. I have searched as much as I can and cannot find a resolution for this issue.

Any help will be really appreciated.

Thanks