I presume it's dried pasta. Boil a small amount and taste it. Most of the time old pasta is fine. Dried pasta is very hardy. Best Before Dates on pasta are probably a legal requirement.
I think I once threw out very, very old pasta because it started crumbling.
If everyone followed Best Before Dates, none of us would ever get laid.